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