Interface TableCell<T>

All Superinterfaces:
Cell<T>
All Known Subinterfaces:
MappingTableCell<T,E>
All Known Implementing Classes:
SimpleTableCell, UpdatingTableCell

public interface TableCell<T> extends Cell<T>
Extension of Cell specifically used by VirtualTable and subclasses.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    This is a way for cells to specify the behavior for when any of its properties are updated.
    default void
    updateColumn(TableColumn<T,? extends TableCell<T>> column)
    This is a way for cells to obtain and perhaps hold the reference of the column it is associated to.
    default void
    updateRow(int rIndex, DefaultTableRow<T> row)
    This is a way for cells to obtain and perhaps hold the reference of the row which contains the cell.

    Methods inherited from interface io.github.palexdev.virtualizedfx.cell.Cell

    afterLayout, beforeLayout, dispose, getNode, updateIndex, updateItem
  • Method Details

    • updateColumn

      default void updateColumn(TableColumn<T,? extends TableCell<T>> column)
      This is a way for cells to obtain and perhaps hold the reference of the column it is associated to.
    • updateRow

      default void updateRow(int rIndex, DefaultTableRow<T> row)
      This is a way for cells to obtain and perhaps hold the reference of the row which contains the cell. The given rIndex is the index of the given row.

      Note that the row may be the same for different calls, but the rIndex may differ.
    • invalidate

      default void invalidate()
      This is a way for cells to specify the behavior for when any of its properties are updated.