- 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:
javafx.scene.control.Skin<impl.org.controlsfx.skin.GridRow<T>>
public class GridRowSkin<T> extends javafx.scene.control.skin.CellSkinBase<impl.org.controlsfx.skin.GridRow<T>>
-
-
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 doublecomputeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)protected doublecomputeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)protected doublecomputePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)GridCell<T>getCellAtIndex(int index)Returns a cell element at a desired indexprotected voidlayoutChildren(double x, double y, double w, double h)voidupdateCells()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, dispose, layoutLabelInArea, layoutLabelInArea, queryAccessibleAttribute, updateChildren
-
Methods inherited from class javafx.scene.control.SkinBase
consumeMouseEvents, executeAccessibleAction, getChildren, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListeners
-
-
-
-
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:
computeMinHeightin classjavafx.scene.control.skin.LabeledSkinBase<impl.org.controlsfx.skin.GridRow<T>>
-
computeMaxHeight
protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)- Overrides:
computeMaxHeightin classjavafx.scene.control.skin.LabeledSkinBase<impl.org.controlsfx.skin.GridRow<T>>
-
computePrefHeight
protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)- Overrides:
computePrefHeightin classjavafx.scene.control.skin.LabeledSkinBase<impl.org.controlsfx.skin.GridRow<T>>
-
layoutChildren
protected void layoutChildren(double x, double y, double w, double h)- Overrides:
layoutChildrenin classjavafx.scene.control.skin.LabeledSkinBase<impl.org.controlsfx.skin.GridRow<T>>
-
-