Class TreeCellSkin<T>
java.lang.Object
- Type Parameters:
T
- the type of the value contained within theTreeItem
Default skin implementation for the
TreeCell
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.CellSkinBase
cellSize
-
Constructor Summary
ConstructorDescriptionTreeCellSkin
(TreeCell<T> control) Creates a new TreeCellSkin 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 TypeMethodDescriptionstatic 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.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.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
-
TreeCellSkin
-
-
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:
-
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
-