Interface TableCellType<T>

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 Details

    • updateItem

      void updateItem(FxTableCell<?,T> tableCell, T item)
      Updates the table cells view.
      Parameters:
      tableCell - the table cell, never null
      item - the item for the cell, never null
    • updateItem

      void updateItem(FxTreeTableCell<?,T> treeTableCell, T item)
      Updates the treetable cells view.
      Parameters:
      treeTableCell - the table cell, never null
      item - 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