Class TreeCellSkin<T>

Type Parameters:
T - the type of the value contained within the TreeItem
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 Link icon

  • Constructor Details Link icon

    • TreeCellSkin Link icon

      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 Link icon

    • setIndent Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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