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 SummaryProperties Type Property Description ReadOnlyDoublePropertycellSizeThe default cell size.
- 
Constructor SummaryConstructors Constructor Description CellSkinBase(C control)Creates a new CellSkinBase instance, installing the necessary child nodes into the Controlchildrenlist, as well as the necessary input mappings for handling key, mouse, etc events.
- 
Method SummaryModifier and Type Method Description ReadOnlyDoublePropertycellSizeProperty()The default cell size.doublegetCellSize()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.List<CssMetaData<? extends Styleable,?>>getCssMetaData()This method should delegate toNode.getClassCssMetaData()so that a Node's CssMetaData can be accessed without the need for reflection.Methods inherited from class javafx.scene.control.skin.LabeledSkinBasecomputeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, dispose, layoutChildren, layoutLabelInArea, layoutLabelInArea, queryAccessibleAttribute, updateChildrenMethods inherited from class javafx.scene.control.SkinBaseconsumeMouseEvents, executeAccessibleAction, getChildren, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, registerChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners
- 
Property Details- 
cellSizeThe 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- 
CellSkinBaseCreates a new CellSkinBase instance, installing the necessary child nodes into the Controlchildrenlist, 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- 
getCellSizepublic 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
 
- 
cellSizePropertyThe 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()
 
- 
getClassCssMetaDataReturns 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
 
- 
getCssMetaDataThis method should delegate toNode.getClassCssMetaData()so that a Node's CssMetaData can be accessed without the need for reflection.- Overrides:
- getCssMetaDatain class- SkinBase<C extends Cell>
- Returns:
- The CssMetaData associated with this node, which may include the CssMetaData of its superclasses.
 
 
-