- java.lang.Object
-
- javafx.scene.control.SkinBase<C>
-
- javafx.scene.control.skin.LabeledSkinBase<C>
-
- javafx.scene.control.skin.CellSkinBase<C>
-
- All Implemented Interfaces:
Skin<C>
- Direct Known Subclasses:
DateCellSkin
,ListCellSkin
,TableCellSkinBase
,TableRowSkinBase
,TreeCellSkin
public class CellSkinBase<C extends Cell> extends LabeledSkinBase<C>
- Since:
- 9
- See Also:
Cell
-
-
Property Summary
Properties Type Property Description ReadOnlyDoubleProperty
cellSize
The default cell size.
-
Constructor Summary
Constructors Constructor Description CellSkinBase(C control)
Creates a new CellSkinBase instance, installing the necessary child nodes into the Controlchildren
list, as well as the necessary input mappings for handling key, mouse, etc events.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadOnlyDoubleProperty
cellSizeProperty()
The default cell size.double
getCellSize()
Gets the value of the property cellSize.static List<CssMetaData<? extends Styleable,?>>
getClassCssMetaData()
Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.-
Methods declared in class javafx.scene.control.skin.LabeledSkinBase
computeMinWidth, layoutChildren, layoutLabelInArea, layoutLabelInArea, updateChildren
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface javafx.scene.control.Skin
dispose, getNode, getSkinnable
-
Methods declared in class javafx.scene.control.SkinBase
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computePrefHeight, computePrefWidth, consumeMouseEvents, executeAccessibleAction, getChildren, getCssMetaData, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners
-
-
-
-
Property Detail
-
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 Detail
-
CellSkinBase
public CellSkinBase(C control)
Creates a new CellSkinBase instance, installing the necessary child nodes into the Controlchildren
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 Detail
-
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
-
-