Top Description Inners Fields Constructors Methods
javafx.scene.control.skin

public Class CellSkinBase<C extends Cell<T>>

extends LabeledSkinBase<C extends Cell<T>>
Class Inheritance
Known Direct Subclasses
javafx.scene.control.skin.DateCellSkin, javafx.scene.control.skin.ListCellSkin, javafx.scene.control.skin.TableCellSkinBase, javafx.scene.control.skin.TableRowSkinBase, javafx.scene.control.skin.TreeCellSkin
Type Parameters
<C>
the type of the cell control
Imports
java.util.ArrayList, .Collections, .List, javafx.scene.control.Cell, .Control, .SkinBase, javafx.css.StyleableDoubleProperty, .CssMetaData, .StyleOrigin, .Styleable, .StyleableProperty, javafx.css.converter.SizeConverter, javafx.beans.property.DoubleProperty, .ReadOnlyDoubleProperty

Default skin implementation for the Cell control, and subclasses such as javafx.scene.control.ListCell, javafx.scene.control.TreeCell, etc.
Since
9
See Also
Cell

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private DoubleProperty
cellSize

The default cell size.

pack-priv static final double
Inherited from javafx.scene.control.skin.LabeledSkinBase:
ellipsisWidthgraphicgraphicPropertyChangedListenerinvalidTexttexttextWidth

Constructor Summary

AccessConstructor and Description
public
CellSkinBase(final C
The control that this skin should be installed onto.
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.

Method Summary

Modifier and TypeMethod and Description
public final ReadOnlyDoubleProperty
private DoubleProperty
public final double
public static List<CssMetaData<? extends Styleable, ?>>

Returns:

the CssMetaData associated with this class, which may include the CssMetaData of its superclasses
getClassCssMetaData
()

Hides javafx.scene.control.SkinBase.getClassCssMetaData.

Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.

public List<CssMetaData<? extends Styleable, ?>>
getCssMetaData()

Overrides javafx.scene.control.SkinBase.getCssMetaData.

This method should delegate to Node#getClassCssMetaData() so that a Node's CssMetaData can be accessed without the need for reflection.

Inherited from javafx.scene.control.skin.LabeledSkinBase:
bottomLabelPaddingcomputeBaselineOffsetcomputeMaxHeightcomputeMaxWidthcomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthdisposeisIgnoreGraphicisIgnoreTextlayoutChildrenlayoutLabelInArealayoutLabelInArealeftLabelPaddingmnemonicTargetChangedqueryAccessibleAttributerightLabelPaddingtopLabelPaddingupdateChildrenupdateDisplayedText

Field Detail

cellSizeback to summary
private DoubleProperty cellSize

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

DEFAULT_CELL_SIZEback to summary
pack-priv static final double DEFAULT_CELL_SIZE

Constructor Detail

CellSkinBaseback to summary
public CellSkinBase(final 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:C

The control that this skin should be installed onto.

Method Detail

cellSizePropertyback to summary
public final ReadOnlyDoubleProperty cellSizeProperty()
cellSizePropertyImplback to summary
private DoubleProperty cellSizePropertyImpl()
getCellSizeback to summary
public final double getCellSize()
getClassCssMetaDataback to summary
public static List<CssMetaData<? extends Styleable, ?>> getClassCssMetaData()

Hides javafx.scene.control.SkinBase.getClassCssMetaData.

Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.

Returns:List<CssMetaData<? extends Styleable, ?>>

the CssMetaData associated with this class, which may include the CssMetaData of its superclasses

getCssMetaDataback to summary
public List<CssMetaData<? extends Styleable, ?>> getCssMetaData()

Overrides javafx.scene.control.SkinBase.getCssMetaData.

Doc from javafx.scene.control.SkinBase.getCssMetaData.

This method should delegate to Node#getClassCssMetaData() so that a Node's CssMetaData can be accessed without the need for reflection.

Returns:List<CssMetaData<? extends Styleable, ?>>

The CssMetaData associated with this node, which may include the CssMetaData of its superclasses.

Annotations
@Override
javafx.scene.control.skin back to summary

private Class CellSkinBase.StyleableProperties

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final CssMetaData<Cell<?>, Number>
private static final List<CssMetaData<? extends Styleable, ?>>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CELL_SIZEback to summary
private static final CssMetaData<Cell<?>, Number> CELL_SIZE
STYLEABLESback to summary
private static final List<CssMetaData<? extends Styleable, ?>> STYLEABLES

Constructor Detail

StyleablePropertiesback to summary
private StyleableProperties()