Class TreeCellSkin<T>
java.lang.Object
Property Summary
| Type | Property | Description |
|---|---|---|
final DoubleProperty |
indent |
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
| Constructor | Description |
|---|---|
TreeCellSkin |
Creates a new TreeCellSkin instance, installing the necessary child nodes into the Control children list, as well as the necessary input mappings for handling key, mouse, etc events. |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
static List |
getClassCssMetaData() |
Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses. |
final double |
getIndent() |
Gets the value of the indent property. |
final DoubleProperty |
indentProperty() |
The amount of space to multiply by the treeItem.level to get the left margin for this tree cell. |
final void |
setIndent |
Sets the value of the indent 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
public final DoubleProperty 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
- See Also:
Constructor Details
TreeCellSkin
public TreeCellSkin(TreeCell<T> control)
Creates a new TreeCellSkin instance, installing the necessary child nodes into the Control
children 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 the
indent 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 theindentproperty - See Also:
getIndent
public final double getIndent()
Gets the value of the
indent 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
indentproperty - See Also:
indentProperty
public final DoubleProperty 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
indentproperty - See Also:
getClassCssMetaData
public static List<CssMetaData<? extends Styleable,?>> 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
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.