Class CellSkinBase<C extends Cell>

All Implemented Interfaces:
Skin<C>
Direct Known Subclasses:
DateCellSkin, ListCellSkin, TableCellSkinBase, TableRowSkinBase, TreeCellSkin

public class CellSkinBase<C extends Cell>
extends LabeledSkinBase<C>
Default skin implementation for the Cell control, and subclasses such as ListCell, TreeCell, etc.
Since:
9
See Also:
Cell
  • Property Details

    • cellSize

      public final ReadOnlyDoubleProperty cellSizeProperty
      The default cell size. For vertical ListView or a TreeView or TableView this is the height, for a horizontal ListView this is the width. This is settable from CSS
      See Also:
      getCellSize()
  • Constructor Details

    • CellSkinBase

      public CellSkinBase​(C control)
      Creates a new CellSkinBase 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

    • getCellSize

      public final double getCellSize()
      Gets the value of the property cellSize.
      Property description:
      The default cell size. For vertical ListView or a TreeView or TableView this is the height, for a horizontal ListView this is the width. This is settable from CSS
    • cellSizeProperty

      public final ReadOnlyDoubleProperty cellSizeProperty()
      The default cell size. For vertical ListView or a TreeView or TableView this is the height, for a horizontal ListView this is the width. This is settable from CSS
      See Also:
      getCellSize()
    • 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
    • getCssMetaData

      public List<CssMetaData<? extends Styleable,​?>> getCssMetaData()
      This method should delegate to Node.getClassCssMetaData() so that a Node's CssMetaData can be accessed without the need for reflection.
      Overrides:
      getCssMetaData in class SkinBase<C extends Cell>
      Returns:
      The CssMetaData associated with this node, which may include the CssMetaData of its superclasses.