Class GridRowSkin<T>

java.lang.Object
javafx.scene.control.SkinBase<impl.org.controlsfx.skin.GridRow<T>>
javafx.scene.control.skin.LabeledSkinBase<impl.org.controlsfx.skin.GridRow<T>>
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>>
  • 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

    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)
     
    getCellAtIndex(int index)
    Returns a cell element at a desired index
    protected void
    layoutChildren(double x, double y, double w, double h)
     
    void
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GridRowSkin

      public GridRowSkin(impl.org.controlsfx.skin.GridRow<T> control)
  • Method Details

    • 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>>