TreeTableRow control.
TreeTableRow
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final BehaviorBase | |
| private boolean | |
| private boolean | |
| private Node | |
| private DoubleProperty | indent
The amount of space to multiply by the treeItem.level to get the left margin for this tree cell. |
| private TreeItem |
| Access | Constructor and Description |
|---|---|
| public | TreeTableRowSkin(TreeTableRow<T>
The control that this skin should be installed onto. control)Creates a new TreeTableRowSkin instance, installing the necessary child
nodes into the Control |
| Modifier and Type | Method and Description |
|---|---|
| protected TreeTableCell | createCell(TableColumnBase<S, T>
the table column tcb)Implements abstract javafx. Creates a new cell instance that is suitable for representing the given table column instance. |
| public void | dispose()
Overrides javafx. Implements javafx. Called when a previously installed skin is about to be removed from its associated control. |
| public static List | Returns: the CssMetaData associated with this class, which may include the CssMetaData of its superclassesHides javafx. Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses. |
| public List | getCssMetaData()
Overrides javafx. This method should delegate to |
| pack-priv Node | |
| public final double | |
| pack-priv int | getIndentationLevel(TreeTableRow<T> control)
Overrides javafx.
|
| pack-priv double | |
| protected TreeTableColumn | getTableColumn(TreeTableCell<S, T>
The cell for which a TableColumn is desired. cell)Implements abstract javafx. Returns the |
| pack-priv TreeTableViewSkin | |
| pack-priv TableColumnBase | getTreeColumn()
Overrides javafx. Returns the table column that should show the disclosure nodes and / or a graphic. |
| pack-priv TreeItem | |
| private TreeTableView | |
| protected ObservableList | getVisibleLeafColumns()
Implements abstract javafx. Returns an unmodifiable list containing the currently visible leaf columns. |
| protected ObjectProperty | graphicProperty()
Overrides javafx. Returns the graphic to draw on the inside of the disclosure node. |
| public final DoubleProperty | |
| pack-priv boolean | isDisclosureNodeVisible()
Overrides javafx. Used to represent whether a disclosure node is visible for _this_ table row. |
| pack-priv boolean | isIndentationRequired()
Overrides javafx. Used to represent whether the current virtual flow owner is wanting indentation to be used in this table row. |
| pack-priv boolean | |
| protected void | layoutChildren(double
the x position x, double the y position y, double the width w, double the height h)Overrides javafx. The Layout algorithm works like this: - Get the labeled w/h, graphic w/h, text w/h - Compute content w/h based on graphicVPos, graphicHPos, graphicTextGap, and graphic w/h and text w/h - (Note that the text content has been pre-truncated where necessary) - compute content x/y based on content w/h and labeled w/h and the labeled's hpos and vpos - position the graphic and text |
| protected 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. |
| public final void | |
| private void | |
| private void | |
| protected void | updateCell(TreeTableCell<T, ?>
The cell for which we want to inform it of its owner row. cell, TreeTableRow<T> The row which will be set on the given cell. row)Implements abstract javafx. A method to allow the given cell to be told that it is a member of the given row. |
| pack-priv void | |
| protected void | updateChildren()
Overrides javafx. Updates the children managed by LabeledSkinBase, which can be the Labeled graphic and/or a Text node. |
| private void | |
| private void | |
| private void |
| behavior | back to summary |
|---|---|
| private final BehaviorBase<TreeTableRow<T>> behavior | |
| childrenDirty | back to summary |
|---|---|
| private boolean childrenDirty | |
| disclosureNodeDirty | back to summary |
|---|---|
| private boolean disclosureNodeDirty | |
| graphic | back to summary |
|---|---|
| private Node graphic | |
| indent | back to summary |
|---|---|
| private DoubleProperty indent The amount of space to multiply by the treeItem.level to get the left margin for this tree cell. This is settable from CSS | |
| treeItem | back to summary |
|---|---|
| private TreeItem<?> treeItem | |
| TreeTableRowSkin | back to summary |
|---|---|
| public TreeTableRowSkin(TreeTableRow<T> control) Creates a new TreeTableRowSkin instance, installing the necessary child
nodes into the Control
| |
| createCell | back to summary |
|---|---|
| protected TreeTableCell Implements abstract javafx. Doc from javafx. Creates a new cell instance that is suitable for representing the given table column instance.
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides javafx. Implements javafx. Doc from javafx. Called when a previously installed skin is about to be removed from its associated control.
This allows the skin to do clean up, like removing listeners and bindings, and undo any changes
to the control's properties.
After this method completes,
Calling
| |
| getClassCssMetaData | back to summary |
|---|---|
| public static List Hides javafx. Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.
| |
| getCssMetaData | back to summary |
|---|---|
| public List Overrides javafx. Doc from javafx. This method should delegate to
| |
| getDisclosureNode | back to summary |
|---|---|
| pack-priv Node getDisclosureNode() Overrides javafx.
| |
| getIndent | back to summary |
|---|---|
| public final double getIndent() | |
| getIndentationLevel | back to summary |
|---|---|
| pack-priv int getIndentationLevel(TreeTableRow<T> control) Overrides javafx.
| |
| getIndentationPerLevel | back to summary |
|---|---|
| pack-priv double getIndentationPerLevel() Overrides javafx.
| |
| getTableColumn | back to summary |
|---|---|
| protected TreeTableColumn Implements abstract javafx. Doc from javafx. Returns the
| |
| getTableViewSkin | back to summary |
|---|---|
| pack-priv TreeTableViewSkin | |
| getTreeColumn | back to summary |
|---|---|
| pack-priv TableColumnBase Overrides javafx. Doc from javafx. Returns the table column that should show the disclosure nodes and / or a graphic. By default this is the left-most column.
| |
| getTreeItem | back to summary |
|---|---|
| pack-priv TreeItem | |
| getTreeTableView | back to summary |
|---|---|
| private TreeTableView | |
| getVisibleLeafColumns | back to summary |
|---|---|
| protected ObservableList Implements abstract javafx. Doc from javafx. Returns an unmodifiable list containing the currently visible leaf columns.
| |
| graphicProperty | back to summary |
|---|---|
| protected ObjectProperty Overrides javafx. Doc from javafx. Returns the graphic to draw on the inside of the disclosure node. Null is acceptable when no graphic should be shown. Commonly this is the graphic associated with a TreeItem (i.e. treeItem.getGraphic()), rather than a graphic associated with a cell.
| |
| indentProperty | back to summary |
|---|---|
| public final DoubleProperty indentProperty() | |
| isDisclosureNodeVisible | back to summary |
|---|---|
| pack-priv boolean isDisclosureNodeVisible() Overrides javafx. Doc from javafx. Used to represent whether a disclosure node is visible for _this_ table row. Not to be confused with isIndentationRequired(), which is the more general API.
| |
| isIndentationRequired | back to summary |
|---|---|
| pack-priv boolean isIndentationRequired() Overrides javafx. Doc from javafx. Used to represent whether the current virtual flow owner is wanting indentation to be used in this table row.
| |
| isShowRoot | back to summary |
|---|---|
| pack-priv boolean isShowRoot() Overrides javafx.
| |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren(double x, double y, double w, double h) Overrides javafx. Doc from javafx. The Layout algorithm works like this: - Get the labeled w/h, graphic w/h, text w/h - Compute content w/h based on graphicVPos, graphicHPos, graphicTextGap, and graphic w/h and text w/h - (Note that the text content has been pre-truncated where necessary) - compute content x/y based on content w/h and labeled w/h and the labeled's hpos and vpos - position the graphic and text
| |
| queryAccessibleAttribute | back to summary |
|---|---|
| protected 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.
| |
| setIndent | back to summary |
|---|---|
| public final void setIndent(double value) | |
| setupTreeTableViewListeners | back to summary |
|---|---|
| private void setupTreeTableViewListeners() | |
| updateCachedFixedSize | back to summary |
|---|---|
| private void updateCachedFixedSize() | |
| updateCell | back to summary |
|---|---|
| protected void updateCell(TreeTableCell<T, ?> cell, TreeTableRow<T> row) Implements abstract javafx. Doc from javafx. A method to allow the given cell to be told that it is a member of the given row. How this is implemented is dependent on the actual cell implementation.
| |
| updateCells | back to summary |
|---|---|
| pack-priv void updateCells(boolean resetChildren) Overrides javafx.
| |
| updateChildren | back to summary |
|---|---|
| protected void updateChildren() Overrides javafx. Doc from javafx. Updates the children managed by LabeledSkinBase, which can be the Labeled graphic and/or a Text node. Only those nodes which actually must be used are used. For example, with a ContentDisplay of GRAPHIC_ONLY the text node is not added, and with a ContentDisplay of TEXT_ONLY, the graphic is not added.
| |
| updateDisclosureNodeAndGraphic | back to summary |
|---|---|
| private void updateDisclosureNodeAndGraphic() | |
| updateTreeItem | back to summary |
|---|---|
| private void updateTreeItem() | |
| updateTreeItemGraphic | back to summary |
|---|---|
| private void updateTreeItemGraphic() | |
| Modifier and Type | Field and Description |
|---|---|
| private static final CssMetaData | |
| private static final List |
| Access | Constructor and Description |
|---|---|
| private |
| INDENT | back to summary |
|---|---|
| private static final CssMetaData<TreeTableRow<?>, Number> INDENT | |
| STYLEABLES | back to summary |
|---|---|
| private static final List<CssMetaData<? extends Styleable, ?>> STYLEABLES | |
| StyleableProperties | back to summary |
|---|---|
| private StyleableProperties() | |