TreeTableView. To
represent this intersection, a TreeTableCell contains an
index property, as well as a
tableColumn property. In addition, a TreeTableCell
instance knows what TreeTableRow it exists in.
A note about selection: A TreeTableCell visually shows it is selected when two conditions are met:
TableSelectionModel#isSelected(int, TableColumnBase) method
returns true for the row / column that this cell represents, andcell selection mode
property is set to true (to represent that it is allowable to select
individual cells (and not just rows of cells)).TreeTableView, TreeTableColumn, Cell, IndexedCell, TreeTableRow
| Modifier and Type | Field and Description |
|---|---|
| private final InvalidationListener | |
| private int | |
| private ListChangeListener | |
| private final InvalidationListener | |
| private ObservableValue | |
| private static final String | |
| private TreeTablePosition | |
| private final InvalidationListener | |
| private final InvalidationListener | |
| private boolean | |
| private boolean | |
| private boolean | |
| private WeakReference | |
| private static final PseudoClass | |
| private final InvalidationListener | |
| private ListChangeListener | |
| private ReadOnlyObjectWrapper | tableColumn
The |
| private ReadOnlyObjectWrapper | tableRow
The |
| private final InvalidationListener | |
| private ReadOnlyObjectWrapper | treeTableView
The |
| private boolean | |
| private ListChangeListener | |
| private final WeakInvalidationListener | |
| private final WeakListChangeListener | |
| private final WeakInvalidationListener | |
| private final WeakInvalidationListener | |
| private final WeakInvalidationListener | |
| private final WeakInvalidationListener | |
| private final WeakListChangeListener | |
| private final WeakInvalidationListener | |
| private final WeakListChangeListener |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | cancelEdit()
Overrides javafx. Cancels an edit to the value of the cell. |
| public void | commitEdit(T
the value as input by the end user, which should be
persisted in the relevant way given the data source underpinning the
user interface and the install edit commit handler of the UI control newValue)Overrides javafx. Commits an edit to the value of the cell. |
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| private void | |
| public void | executeAccessibleAction(AccessibleAction
the action to execute action, Object... optional list of parameters parameters)Overrides javafx. This method is called by the assistive technology to request the action indicated by the argument should be executed. |
| pack-priv TreeTablePosition | |
| public final TreeTableColumn | |
| public final TreeTableRow | |
| public final TreeTableRow | |
| public final TreeTableView | |
| pack-priv void | indexChanged(int
the old index oldIndex, int the new index 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. |
| private boolean | |
| protected void | layoutChildren()
Overrides javafx. Invoked during the layout pass to layout the children in this
|
| private boolean | |
| private void | |
| private void | |
| public Object | queryAccessibleAttribute(AccessibleAttribute
the requested attribute attribute, Object... optional list of parameters parameters)Overrides javafx. This method is called by the assistive technology to request the value for an attribute. |
| private void | |
| private void | |
| private void | |
| public void | |
| public final ReadOnlyObjectProperty | |
| public final ReadOnlyObjectProperty | |
| public final ReadOnlyObjectProperty | |
| private ReadOnlyObjectWrapper | |
| private void | |
| private void | |
| private void | |
| private void | |
| public void | updateSelected(boolean
whether or not to select this cell. selected)Overrides javafx. Updates whether this cell is in a selected state or not. |
| private void | |
| public final void | updateTableColumn(TreeTableColumn<S, T>
the column)TreeTableColumn associated with this TreeTableCellUpdates the |
| public final void | updateTableRow(TreeTableRow<S>
the row)TreeTableRow associated with this TreeTableCellUpdates the |
| public final void | updateTreeTableColumn(TreeTableColumn<S, T>
the column)TreeTableColumn
Deprecated
since 17. Use
updateTableColumn instead.
|
| public final void | updateTreeTableRow(TreeTableRow<S>
the row)TreeTableRow
Deprecated
since 17. Use
updateTableRow instead.
|
| public final void | updateTreeTableView(TreeTableView<S>
the tv)TreeTableView associated with this TreeTableCellUpdates the |
| columnIdListener | back to summary |
|---|---|
| private final InvalidationListener columnIdListener | |
| columnIndex | back to summary |
|---|---|
| private int columnIndex | |
| columnStyleClassListener | back to summary |
|---|---|
| private ListChangeListener<String> columnStyleClassListener | |
| columnStyleListener | back to summary |
|---|---|
| private final InvalidationListener columnStyleListener | |
| currentObservableValue | back to summary |
|---|---|
| private ObservableValue<T> currentObservableValue | |
| DEFAULT_STYLE_CLASS | back to summary |
|---|---|
| private static final String DEFAULT_STYLE_CLASS | |
| editingCellAtStartEdit | back to summary |
|---|---|
| private TreeTablePosition<S, T> editingCellAtStartEdit | |
| editingListener | back to summary |
|---|---|
| private final InvalidationListener editingListener | |
| focusedListener | back to summary |
|---|---|
| private final InvalidationListener focusedListener | |
| isFirstRun | back to summary |
|---|---|
| private boolean isFirstRun | |
| isLastVisibleColumn | back to summary |
|---|---|
| private boolean isLastVisibleColumn | |
| itemDirty | back to summary |
|---|---|
| private boolean itemDirty | |
| oldRowItemRef | back to summary |
|---|---|
| private WeakReference<S> oldRowItemRef | |
| PSEUDO_CLASS_LAST_VISIBLE | back to summary |
|---|---|
| private static final PseudoClass PSEUDO_CLASS_LAST_VISIBLE | |
| rootPropertyListener | back to summary |
|---|---|
| private final InvalidationListener rootPropertyListener | |
| selectedListener | back to summary |
|---|---|
| private ListChangeListener<TreeTablePosition<S, ?>> selectedListener | |
| tableColumn | back to summary |
|---|---|
| private ReadOnlyObjectWrapper<TreeTableColumn<S, T>> tableColumn The | |
| tableRow | back to summary |
|---|---|
| private ReadOnlyObjectWrapper<TreeTableRow<S>> tableRow The | |
| tableRowUpdateObserver | back to summary |
|---|---|
| private final InvalidationListener tableRowUpdateObserver | |
| treeTableView | back to summary |
|---|---|
| private ReadOnlyObjectWrapper<TreeTableView<S>> treeTableView The | |
| updateEditingIndex | back to summary |
|---|---|
| private boolean updateEditingIndex | |
| visibleLeafColumnsListener | back to summary |
|---|---|
| private ListChangeListener<TreeTableColumn<S, ?>> visibleLeafColumnsListener | |
| weakColumnIdListener | back to summary |
|---|---|
| private final WeakInvalidationListener weakColumnIdListener | |
| weakColumnStyleClassListener | back to summary |
|---|---|
| private final WeakListChangeListener<String> weakColumnStyleClassListener | |
| weakColumnStyleListener | back to summary |
|---|---|
| private final WeakInvalidationListener weakColumnStyleListener | |
| weakEditingListener | back to summary |
|---|---|
| private final WeakInvalidationListener weakEditingListener | |
| weakFocusedListener | back to summary |
|---|---|
| private final WeakInvalidationListener weakFocusedListener | |
| weakRootPropertyListener | back to summary |
|---|---|
| private final WeakInvalidationListener weakRootPropertyListener | |
| weakSelectedListener | back to summary |
|---|---|
| private final WeakListChangeListener<TreeTablePosition<S, ?>> weakSelectedListener | |
| weaktableRowUpdateObserver | back to summary |
|---|---|
| private final WeakInvalidationListener weaktableRowUpdateObserver | |
| weakVisibleLeafColumnsListener | back to summary |
|---|---|
| private final WeakListChangeListener<TreeTableColumn<S, ?>> weakVisibleLeafColumnsListener | |
| TreeTableCell | back to summary |
|---|---|
| public TreeTableCell() Constructs a default TreeTableCell instance with a style class of 'tree-table-cell'. | |
| cancelEdit | back to summary |
|---|---|
| public void cancelEdit() Overrides javafx. Doc from javafx. Cancels an edit to the value of the cell. Call this function to transition from an editing state into a non-editing state, without saving any user input.
| |
| commitEdit | back to summary |
|---|---|
| public void commitEdit(T newValue) Overrides javafx. Doc from javafx. Commits an edit to the value of the cell. Call this function when appropriate (based on the user interaction requirements of your cell editing user interface) to do two things:
In general there is no need to override this method in custom cell
implementations - it should be sufficient to simply call this method
when appropriate (e.g., when the user pressed the Enter key, you may do something
like
| |
| 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 | |
| doCancelEdit | back to summary |
|---|---|
| private void doCancelEdit() Switches an editing cell into not editing without changing control's editing state. | |
| executeAccessibleAction | back to summary |
|---|---|
| public void executeAccessibleAction(AccessibleAction action, Object... parameters) Overrides javafx. Doc from javafx. This method is called by the assistive technology to request the action indicated by the argument should be executed.
This method is commonly overridden by subclasses to implement
action that are required for a specific role.
| |
| getEditingCellAtStartEdit | back to summary |
|---|---|
| pack-priv TreeTablePosition | |
| getTableColumn | back to summary |
|---|---|
| public final TreeTableColumn | |
| getTableRow | back to summary |
|---|---|
| public final TreeTableRow Gets the value of the property
| |
| getTreeTableRow | back to summary |
|---|---|
public final TreeTableRow
| |
| getTreeTableView | back to summary |
|---|---|
| public final TreeTableView | |
| 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.
| |
| isInCellSelectionMode | back to summary |
|---|---|
| private boolean isInCellSelectionMode() | |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren() Overrides javafx. Doc from javafx. Invoked during the layout pass to layout the children in this
Subclasses should override this function to layout content as needed.
| |
| match | back to summary |
|---|---|
| private boolean match(TreeTablePosition<S, T> pos) | |
| possiblySetId | back to summary |
|---|---|
| private void possiblySetId(String idCandidate) | |
| possiblySetStyle | back to summary |
|---|---|
| private void possiblySetStyle(String styleCandidate) | |
| 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.
| |
| setTableColumn | back to summary |
|---|---|
| private void setTableColumn(TreeTableColumn<S, T> value) | |
| setTableRow | back to summary |
|---|---|
| private void setTableRow(TreeTableRow<S> value) | |
| setTreeTableView | back to summary |
|---|---|
| private void setTreeTableView(TreeTableView<S> value) | |
| startEdit | back to summary |
|---|---|
| public void startEdit() Overrides javafx. Doc from javafx. Starts an edit to the value of the cell. Call this function to transition from a non-editing state into an editing state, if the cell is editable. If this cell is already in an editing state, it will stay in it.
| |
| tableColumnProperty | back to summary |
|---|---|
| public final ReadOnlyObjectProperty | |
| tableRowProperty | back to summary |
|---|---|
| public final ReadOnlyObjectProperty | |
| treeTableViewProperty | back to summary |
|---|---|
| public final ReadOnlyObjectProperty | |
| treeTableViewPropertyImpl | back to summary |
|---|---|
| private ReadOnlyObjectWrapper | |
| updateColumnIndex | back to summary |
|---|---|
| private void updateColumnIndex() | |
| updateEditing | back to summary |
|---|---|
| private void updateEditing() | |
| updateFocus | back to summary |
|---|---|
| private void updateFocus() | |
| updateItem | back to summary |
|---|---|
| private void updateItem(int oldIndex) | |
| updateSelected | back to summary |
|---|---|
| public void updateSelected(boolean selected) Overrides javafx. Doc from javafx. Updates whether this cell is in a selected state or not.
| |
| updateSelection | back to summary |
|---|---|
| private void updateSelection() | |
| updateTableColumn | back to summary |
|---|---|
| public final void updateTableColumn(TreeTableColumn<S, T> column) Updates the 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.
| |
| updateTableRow | back to summary |
|---|---|
| public final void updateTableRow(TreeTableRow<S> row) Updates the 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.
| |
| updateTreeTableColumn | back to summary |
|---|---|
public final void updateTreeTableColumn(TreeTableColumn<S, T> column)
| |
| updateTreeTableRow | back to summary |
|---|---|
public final void updateTreeTableRow(TreeTableRow<S> row)
| |
| updateTreeTableView | back to summary |
|---|---|
| public final void updateTreeTableView(TreeTableView<S> tv) Updates the 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.
| |