Class TableRow<T>

Type Parameters:
T - The type of the item contained within the Cell.
All Implemented Interfaces:
Styleable, EventTarget, Skinnable

public class TableRow<T> extends IndexedCell<T>

TableRow is an IndexedCell, but rarely needs to be used by developers creating TableView instances. The only time TableRow is likely to be encountered at all by a developer is if they wish to create a custom rowFactory that replaces an entire row of a TableView.

More often than not, it is actually easier for a developer to customize individual cells in a row, rather than the whole row itself. To do this, you can specify a custom cellFactory on each TableColumn instance.

JavaFX 2.0
See Also:
  • Property Details

  • Constructor Details

    • TableRow

      public TableRow()
      Constructs a default TableRow instance with a style class of 'table-row-cell'
  • Method Details

    • getTableView

      public final TableView<T> getTableView()
      Gets the value of the tableView property.
      Property description:
      The TableView associated with this Cell.
      the value of the tableView property
      See Also:
    • tableViewProperty

      public final ReadOnlyObjectProperty<TableView<T>> tableViewProperty()
      The TableView associated with this Cell.
      the TableView associated with this Cell
      See Also:
    • updateTableView

      public final void updateTableView(TableView<T> tv)
      Updates the TableView associated with this TableCell. This is typically only done once when the TableCell is first added to the TableView. Note: This function is intended to be used by experts, primarily by those implementing new Skins. It is not common for developers or designers to access this function directly.
      tv - the TableView