- Type Parameters:
T- type of the content in a cell
- All Known Implementing Classes:
AbstractDateTimeTableCellType,AbstractTableCellType,BMoneyTableCellType,BooleanTableCellType,DateTableCellType,EnumTableCellType,I18NTextTableCellType,InstantTableCellType,LocalDateTableCellType,LocalDateTimeTableCellType,LocalTimeTableCellType,NumberTableCellType,ObjectTableCellType,OffsetDateTimeTableCellType,OffsetTimeTableCellType,StringTableCellType,TimestampTableCellType,TimeTableCellType,ZonedDateTimeTableCellType
public interface TableCellType<T>
A table and treetable cell type.
Table cell types are singletons per java class. They are created by a factory on demand when a new type is used in a table or treetable view.
- Author:
- harald
-
Method Summary
Modifier and TypeMethodDescriptionGets the editor component.Class<?>Gets the intrinsic type of the editor.voidupdateItem(FxTableCell<?, T> tableCell, T item) Updates the table cells view.voidupdateItem(FxTreeTableCell<?, T> treeTableCell, T item) Updates the treetable cells view.
-
Method Details
-
updateItem
Updates the table cells view.- Parameters:
tableCell- the table cell, never nullitem- the item for the cell, never null
-
updateItem
Updates the treetable cells view.- Parameters:
treeTableCell- the table cell, never nullitem- the item for the cell, never null
-
getEditor
FxComponent getEditor()Gets the editor component.- Returns:
- the editor component, never null
-
getEditorType
Class<?> getEditorType()Gets the intrinsic type of the editor.- Returns:
- the editor's type
-