public class ListCellSkin<T> extends CellSkinBase<<any>>
ListCell
control.ListCell
cellSizeProperty
Modifier and Type | Field and Description |
---|---|
private <any> |
behavior |
private double |
fixedCellSize
*
Private fields *
*
|
private boolean |
fixedCellSizeEnabled |
DEFAULT_CELL_SIZE
ellipsisWidth, graphic, graphicPropertyChangedListener, invalidText, text, textWidth
Constructor and Description |
---|
ListCellSkin(<any> control)
Creates a new ListCellSkin instance, installing the necessary child
nodes into the Control
children list, as
well as the necessary input mappings for handling key, mouse, etc events. |
Modifier and Type | Method and Description |
---|---|
protected double |
computeMaxHeight(double width,
double topInset,
double rightInset,
double bottomInset,
double leftInset) |
protected double |
computeMinHeight(double width,
double topInset,
double rightInset,
double bottomInset,
double leftInset) |
protected double |
computePrefHeight(double width,
double topInset,
double rightInset,
double bottomInset,
double leftInset) |
protected double |
computePrefWidth(double height,
double topInset,
double rightInset,
double bottomInset,
double leftInset) |
void |
dispose() |
private void |
setupListeners() |
cellSizeProperty, getCellSize, getClassCssMetaData, getCssMetaData
bottomLabelPadding, computeBaselineOffset, computeMaxWidth, computeMinWidth, isIgnoreGraphic, isIgnoreText, layoutChildren, layoutLabelInArea, layoutLabelInArea, leftLabelPadding, mnemonicTargetChanged, queryAccessibleAttribute, rightLabelPadding, topLabelPadding, updateChildren, updateDisplayedText
private double fixedCellSize
private boolean fixedCellSizeEnabled
private final <any> behavior
public ListCellSkin(<any> control)
children
list, as
well as the necessary input mappings for handling key, mouse, etc events.control
- The control that this skin should be installed onto.private void setupListeners()
public void dispose()
protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
computePrefWidth
in class LabeledSkinBase<<any>>
protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
computePrefHeight
in class LabeledSkinBase<<any>>
protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
computeMinHeight
in class LabeledSkinBase<<any>>
protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
computeMaxHeight
in class LabeledSkinBase<<any>>