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.
TableView, TableColumn, TableCell, IndexedCell, Cell
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private final InvalidationListener | |
| private final InvalidationListener | |
| private boolean | |
| private ListChangeListener | |
| private ReadOnlyObjectWrapper | |
| private final WeakInvalidationListener | |
| private final WeakInvalidationListener | |
| private final WeakListChangeListener |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| public final TableView | |
| pack-priv void | indexChanged(int oldIndex, int newIndex)
Overrides javafx. This method is called whenever the index is changed, regardless of whether the new index is the same as the old index. |
| public Object | queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters)
Overrides javafx. This method is called by the assistive technology to request the value for an attribute. |
| private void | |
| public final ReadOnlyObjectProperty | Returns: the TableView associated with this CellThe TableView associated with this Cell. |
| private ReadOnlyObjectWrapper | |
| private void | |
| private void | |
| private void | |
| private void | |
| public final void |
| DEFAULT_STYLE_CLASS | back to summary |
|---|---|
| private static final String DEFAULT_STYLE_CLASS | |
| editingListener | back to summary |
|---|---|
| private final InvalidationListener editingListener | |
| focusedListener | back to summary |
|---|---|
| private final InvalidationListener focusedListener | |
| isFirstRun | back to summary |
|---|---|
| private boolean isFirstRun | |
| selectedListener | back to summary |
|---|---|
| private ListChangeListener<Integer> selectedListener | |
| tableView | back to summary |
|---|---|
| private ReadOnlyObjectWrapper<TableView<T>> tableView | |
| weakEditingListener | back to summary |
|---|---|
| private final WeakInvalidationListener weakEditingListener | |
| weakFocusedListener | back to summary |
|---|---|
| private final WeakInvalidationListener weakFocusedListener | |
| weakSelectedListener | back to summary |
|---|---|
| private final WeakListChangeListener<Integer> weakSelectedListener | |
| TableRow | back to summary |
|---|---|
| public TableRow() Constructs a default TableRow instance with a style class of 'table-row-cell' | |
| createDefaultSkin | back to summary |
|---|---|
| protected Skin Overrides javafx. Doc from javafx. Create a new instance of the default skin for this control. This is called to create a skin for the control if
no skin is provided via CSS
| |
| getTableView | back to summary |
|---|---|
| public final TableView | |
| indexChanged | back to summary |
|---|---|
| pack-priv void indexChanged(int oldIndex, int newIndex) Overrides javafx. Doc from javafx. This method is called whenever the index is changed, regardless of whether the new index is the same as the old index.
| |
| queryAccessibleAttribute | back to summary |
|---|---|
| public Object queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters) Overrides javafx. Doc from javafx. This method is called by the assistive technology to request the value for an attribute.
This method is commonly overridden by subclasses to implement
attributes that are required for a specific role.
| |
| setTableView | back to summary |
|---|---|
| private void setTableView(TableView<T> value) | |
| tableViewProperty | back to summary |
|---|---|
| public final ReadOnlyObjectProperty The TableView associated with this Cell.
| |
| tableViewPropertyImpl | back to summary |
|---|---|
| private ReadOnlyObjectWrapper | |
| updateEditing | back to summary |
|---|---|
| private void updateEditing() | |
| updateFocus | back to summary |
|---|---|
| private void updateFocus() | |
| updateItem | back to summary |
|---|---|
| private void updateItem(int oldIndex) | |
| updateSelection | back to summary |
|---|---|
| private void updateSelection() | |
| updateTableView | back to summary |
|---|---|
| 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.
| |