Class TreeCellSkin<T>

All Implemented Interfaces:
Skin<TreeCell<T>>

public class TreeCellSkin<T> extends CellSkinBase<TreeCell<T>>
Default skin implementation for the TreeCell control.
Since:
9
See Also:
  • 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 property indent.
      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
    • getIndent

      public final double getIndent()
      Gets the value of the property indent.
      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
    • 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
      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