Class 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 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 index
      protected 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, 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 cells

        Cells 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 class javafx.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:
        computeMaxHeight in class javafx.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:
        computePrefHeight in class javafx.scene.control.skin.LabeledSkinBase<impl.org.controlsfx.skin.GridRow<T>>
      • layoutChildren

        protected void layoutChildren​(double x,
                                      double y,
                                      double w,
                                      double h)
        Overrides:
        layoutChildren in class javafx.scene.control.skin.LabeledSkinBase<impl.org.controlsfx.skin.GridRow<T>>