-
- Type Parameters:
T- type of the content in a cell
- All Known Implementing Classes:
AbstractTableCellType,BMoneyTableCellType,BooleanTableCellType,DateTableCellType,EnumTableCellType,LocalDateTableCellType,LocalDateTimeTableCellType,LocalTimeTableCellType,NumberTableCellType,ObjectTableCellType,StringTableCellType,TimestampTableCellType,TimeTableCellType,UtilDateTableCellType
public interface TableCellType<T>A table 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 view.
- Author:
- harald
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FxComponentgetEditor()Gets the editor component.java.lang.Class<?>getEditorType()Gets the intrinsic type of the editor.voidupdateItem(FxTableCell<?,T> tableCell, T item)Updates the cells view.
-
-
-
Method Detail
-
updateItem
void updateItem(FxTableCell<?,T> tableCell, T item)
Updates the cells view.- Parameters:
tableCell- 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
java.lang.Class<?> getEditorType()
Gets the intrinsic type of the editor.- Returns:
- the editor's type
-
-