Class GridRowSkin<T>

  • All Implemented Interfaces:
    Skin<impl.org.controlsfx.skin.GridRow<T>>

    public class GridRowSkin<T>
    extends CellSkinBase<impl.org.controlsfx.skin.GridRow<T>>
    • 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 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 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 LabeledSkinBase<impl.org.controlsfx.skin.GridRow<T>>
      • layoutChildren

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