Class GridViewSkin<T>

    • Constructor Detail

      • GridViewSkin

        public GridViewSkin​(GridView<T> control)
    • Method Detail

      • updateGridViewItems

        public void updateGridViewItems()
      • getItemCount

        public int getItemCount()
        Returns the number of row needed to display the whole set of cells
        Specified by:
        getItemCount in class VirtualContainerBase<GridView<T>,​impl.org.controlsfx.skin.GridRow<T>>
        Returns:
        GridView row count
      • computeMaxCellsInRow

        public int computeMaxCellsInRow()
        Returns the max number of cell per row
        Returns:
        Max cell number per row
      • computeRowWidth

        protected double computeRowWidth()
        Returns the width of a row (should be GridView.width - GridView.Scrollbar.width)
        Returns:
        Computed width of a row
      • computeCellWidth

        protected double computeCellWidth()
        Returns the width of a cell
        Returns:
        Computed width of a cell
      • updateRows

        protected void updateRows​(int rowCount)
      • computeMinHeight

        protected double computeMinHeight​(double height,
                                          double topInset,
                                          double rightInset,
                                          double bottomInset,
                                          double leftInset)
        Overrides:
        computeMinHeight in class SkinBase<GridView<T>>