- java.lang.Object
-
- javafx.scene.control.SkinBase<C>
-
- javafx.scene.control.skin.LabeledSkinBase<C>
-
- javafx.scene.control.skin.CellSkinBase<impl.org.controlsfx.skin.GridRow<T>>
-
- impl.org.controlsfx.skin.GridRowSkin<T>
-
- All Implemented Interfaces:
Skin<impl.org.controlsfx.skin.GridRow<T>>
public class GridRowSkin<T> extends CellSkinBase<impl.org.controlsfx.skin.GridRow<T>>
-
-
Property Summary
-
Properties inherited from class javafx.scene.control.skin.CellSkinBase
cellSize
-
-
Constructor Summary
Constructors Constructor Description GridRowSkin(impl.org.controlsfx.skin.GridRow<T> control)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
GridCell<T>
getCellAtIndex(int index)
Returns a cell element at a desired indexprotected void
layoutChildren(double x, double y, double w, double h)
void
updateCells()
Update all cells-
Methods inherited from class javafx.scene.control.skin.CellSkinBase
cellSizeProperty, getCellSize, getClassCssMetaData, getCssMetaData
-
Methods inherited from class javafx.scene.control.skin.LabeledSkinBase
computeBaselineOffset, computeMaxWidth, computeMinWidth, computePrefWidth, layoutLabelInArea, layoutLabelInArea, queryAccessibleAttribute, updateChildren
-
Methods inherited from class javafx.scene.control.SkinBase
consumeMouseEvents, dispose, 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
-
-
-
-
Constructor Detail
-
GridRowSkin
public GridRowSkin(impl.org.controlsfx.skin.GridRow<T> control)
-
-
Method Detail
-
getCellAtIndex
public GridCell<T> getCellAtIndex(int index)
Returns a cell element at a desired index- Parameters:
index
- The index of the wanted cell element- Returns:
- Cell element if exist else null
-
updateCells
public void updateCells()
Update all cellsCells are only created when needed and re-used when possible.
-
computeMinHeight
protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
- Overrides:
computeMinHeight
in classLabeledSkinBase<impl.org.controlsfx.skin.GridRow<T>>
-
computeMaxHeight
protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
- Overrides:
computeMaxHeight
in classLabeledSkinBase<impl.org.controlsfx.skin.GridRow<T>>
-
computePrefHeight
protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
- Overrides:
computePrefHeight
in classLabeledSkinBase<impl.org.controlsfx.skin.GridRow<T>>
-
layoutChildren
protected void layoutChildren(double x, double y, double w, double h)
- Overrides:
layoutChildren
in classLabeledSkinBase<impl.org.controlsfx.skin.GridRow<T>>
-
-