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

  • 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 the indent property
      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 indent property
      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 indent property
      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