- java.lang.Object
-
- org.tentackle.fx.table.type.AbstractTableCellType<java.lang.Enum>
-
- org.tentackle.fx.table.type.EnumTableCellType
-
- All Implemented Interfaces:
TableCellType<java.lang.Enum>
@TableCellTypeService(java.lang.Enum.class) public class EnumTableCellType extends AbstractTableCellType<java.lang.Enum>
A boolean cell type.- Author:
- harald
-
-
Field Summary
-
Fields inherited from class org.tentackle.fx.table.type.AbstractTableCellType
editor
-
-
Constructor Summary
Constructors Constructor Description EnumTableCellType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FxComponentgetEditor()Gets the editor component.java.lang.Class<?>getEditorType()Gets the intrinsic type of the editor.voidupdateItem(FxTableCell<?,java.lang.Enum> tableCell, java.lang.Enum item)Updates the cells view.-
Methods inherited from class org.tentackle.fx.table.type.AbstractTableCellType
updateAlignment
-
-
-
-
Method Detail
-
updateItem
public void updateItem(FxTableCell<?,java.lang.Enum> tableCell, java.lang.Enum item)
Description copied from interface:TableCellTypeUpdates the cells view.- Parameters:
tableCell- the table cell, never nullitem- the item for the cell, never null
-
getEditor
public FxComponent getEditor()
Description copied from interface:TableCellTypeGets the editor component.- Specified by:
getEditorin interfaceTableCellType<java.lang.Enum>- Overrides:
getEditorin classAbstractTableCellType<java.lang.Enum>- Returns:
- the editor component, never null
-
getEditorType
public java.lang.Class<?> getEditorType()
Description copied from interface:TableCellTypeGets the intrinsic type of the editor.- Specified by:
getEditorTypein interfaceTableCellType<java.lang.Enum>- Overrides:
getEditorTypein classAbstractTableCellType<java.lang.Enum>- Returns:
- the editor's type
-
-