java.lang.Object
javafx.scene.control.SkinBase<C>
javafx.scene.control.skin.LabeledSkinBase<C>
javafx.scene.control.skin.CellSkinBase<C>
javafx.scene.control.skin.TableRowSkinBase<TreeItem<T>,TreeTableRow<T>,TreeTableCell<T,?>>
javafx.scene.control.skin.TreeTableRowSkin<T>
- All Implemented Interfaces:
Skin<TreeTableRow<T>>
public class TreeTableRowSkin<T>
extends TableRowSkinBase<TreeItem<T>,TreeTableRow<T>,TreeTableCell<T,?>>
Default skin implementation for the
TreeTableRow
control.- Since:
- 9
- See Also:
-
Property Summary
TypePropertyDescriptionfinal DoubleProperty
The amount of space to multiply by the treeItem.level to get the left margin for this tree cell.Properties declared in class javafx.scene.control.skin.TableRowSkinBase
graphic
Properties declared in class javafx.scene.control.skin.CellSkinBase
cellSize
-
Constructor Summary
ConstructorDescriptionTreeTableRowSkin
(TreeTableRow<T> control) Creates a new TreeTableRowSkin instance, installing the necessary child nodes into the Controlchildren
list, as well as the necessary input mappings for handling key, mouse, etc events. -
Method Summary
Modifier and TypeMethodDescriptionprotected TreeTableCell<T,
?> Creates a new cell instance that is suitable for representing the given table column instance.static List<CssMetaData<? extends Styleable,
?>> Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.final double
Gets the value of theindent
property.protected TreeTableColumn<T,
?> getTableColumn
(TreeTableCell cell) Returns theTableColumnBase
instance for the given cell instance.protected ObservableList<TreeTableColumn<T,
?>> Returns an unmodifiable list containing the currently visible leaf columns.final DoubleProperty
The amount of space to multiply by the treeItem.level to get the left margin for this tree cell.final void
setIndent
(double value) Sets the value of theindent
property.protected void
updateCell
(TreeTableCell<T, ?> cell, TreeTableRow<T> row) A method to allow the given cell to be told that it is a member of the given row.Methods declared in class javafx.scene.control.skin.TableRowSkinBase
graphicProperty
Methods declared in class javafx.scene.control.skin.CellSkinBase
cellSizeProperty, getCellSize
Methods declared in class javafx.scene.control.skin.LabeledSkinBase
computeBaselineOffset, computeMinWidth, layoutChildren, layoutLabelInArea, layoutLabelInArea, updateChildren
Methods declared in class javafx.scene.control.SkinBase
computeMaxHeight, computeMaxWidth, computeMinHeight, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, executeAccessibleAction, getChildren, getCssMetaData, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListeners
-
Property Details
-
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- See Also:
-
-
Constructor Details
-
TreeTableRowSkin
Creates a new TreeTableRowSkin instance, installing the necessary child nodes into the Controlchildren
list, as well as the necessary input mappings for handling key, mouse, etc events.- Parameters:
control
- The control that this skin should be installed onto.
-
-
Method Details
-
setIndent
public final void setIndent(double value) Sets the value of theindent
property.- Property description:
- The amount of space to multiply by the treeItem.level to get the left margin for this tree cell. This is settable from CSS
- Parameters:
value
- the value for theindent
property- See Also:
-
getIndent
public final double getIndent()Gets the value of theindent
property.- Property description:
- The amount of space to multiply by the treeItem.level to get the left margin for this tree cell. This is settable from CSS
- Returns:
- the value of the
indent
property - See Also:
-
indentProperty
The amount of space to multiply by the treeItem.level to get the left margin for this tree cell. This is settable from CSS- Returns:
- the
indent
property - See Also:
-
createCell
Creates a new cell instance that is suitable for representing the given table column instance.- Specified by:
createCell
in classTableRowSkinBase<TreeItem<T>,
TreeTableRow<T>, TreeTableCell<T, ?>> - Parameters:
tcb
- the table column- Returns:
- the created cell
-
getVisibleLeafColumns
Returns an unmodifiable list containing the currently visible leaf columns.- Specified by:
getVisibleLeafColumns
in classTableRowSkinBase<TreeItem<T>,
TreeTableRow<T>, TreeTableCell<T, ?>> - Returns:
- the list of visible leaf columns
-
updateCell
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.- Specified by:
updateCell
in classTableRowSkinBase<TreeItem<T>,
TreeTableRow<T>, TreeTableCell<T, ?>> - Parameters:
cell
- The cell for which we want to inform it of its owner row.row
- The row which will be set on the given cell.
-
getTableColumn
Returns theTableColumnBase
instance for the given cell instance.- Specified by:
getTableColumn
in classTableRowSkinBase<TreeItem<T>,
TreeTableRow<T>, TreeTableCell<T, ?>> - Parameters:
cell
- The cell for which a TableColumn is desired.- Returns:
- the table column
-
getClassCssMetaData
Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.- Returns:
- the CssMetaData associated with this class, which may include the CssMetaData of its superclasses
-