Class PagingControlsSkin

java.lang.Object
javafx.scene.control.SkinBase<PagingControls>
com.dlsc.gemsfx.skins.GemsSkinBase<PagingControls>
com.dlsc.gemsfx.skins.PagingControlsSkin
All Implemented Interfaces:
javafx.scene.control.Skin<PagingControls>

public class PagingControlsSkin extends GemsSkinBase<PagingControls>
Skin for PagingControls.

The skin builds navigation buttons, page number buttons, an optional page-size selector, and an optional message label, arranging them horizontally or vertically according to the control alignment.

  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a skin for the given paging controls.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected javafx.scene.control.Button
    createPageButton(int page)
    Creates a button that selects the given zero-based page index.

    Methods inherited from class javafx.scene.control.SkinBase

    computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutChildren, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListeners

    Methods inherited from class Object

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

    • PagingControlsSkin

      public PagingControlsSkin(PagingControls view)
      Creates a skin for the given paging controls.
      Parameters:
      view - the paging controls rendered by this skin
  • Method Details

    • createPageButton

      protected javafx.scene.control.Button createPageButton(int page)
      Creates a button that selects the given zero-based page index.
      Parameters:
      page - the zero-based page index selected by the button
      Returns:
      the page button