Pagination control.
Pagination
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| pack-priv class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final DoubleProperty | arrowButtonGap
The size of the gap between number buttons and arrow buttons |
| private BooleanProperty | |
| private final PaginationBehavior | |
| private EventHandler | |
| private Rectangle | |
| private int | |
| private int | |
| private StackPane | |
| private static final Boolean | |
| private static final Side | |
| private static final Boolean | |
| private static final Boolean | |
| private int | |
| private static final Duration | |
| private int | |
| private volatile boolean | |
| private static final Interpolator | |
| private double | |
| private long | |
| private int | |
| private final PaginationSkin. | |
| private boolean | |
| private StackPane | |
| private int | |
| private ObjectProperty | |
| private BooleanProperty | |
| private int | |
| private boolean | |
| private double | |
| private long | |
| private static final double | |
| private EventHandler | |
| private Timeline | |
| private int | |
| private BooleanProperty | |
| private static final double | |
| private int | |
| private boolean | |
| private double |
| Access | Constructor and Description |
|---|---|
| public | PaginationSkin(final Pagination
The control that this skin should be installed onto. control)Creates a new PaginationSkin instance, installing the necessary child
nodes into the Control |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private final DoubleProperty | |
| private final BooleanProperty | |
| protected double | computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Computes the minimum allowable height of the Skin, based on the provided width. |
| protected double | computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Computes the minimum allowable width of the Skin, based on the provided height. |
| protected double | computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Calculates the preferred height of this |
| protected double | computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Calculates the preferred width of this |
| private boolean | |
| public void | dispose()
Overrides javafx. Implements javafx. Called when a previously installed skin is about to be removed from its associated control. |
| private final double | |
| public static List | Returns: the CssMetaData associated with this class, which may include the CssMetaData of its superclassesHides javafx. Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses. |
| public List | getCssMetaData()
Overrides javafx. This method should delegate to |
| private int | |
| private int | |
| private int | |
| private final Side | |
| private void | |
| public void | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| protected void | layoutChildren(final double x, final double y, final double w, final double h)
Overrides javafx. Called during the layout pass of the scenegraph. |
| private final ObjectProperty | |
| private final BooleanProperty | |
| protected Object | queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters)
Overrides javafx. This method is called by the assistive technology to request the value for an attribute. |
| private void | |
| private void | |
| private void | |
| private void | |
| private final void | |
| private final void | |
| private final void | |
| private final void | |
| private final void | |
| private void | |
| private final BooleanProperty |
| animate | back to summary |
|---|---|
| private boolean animate | |
| arrowButtonGap | back to summary |
|---|---|
| private final DoubleProperty arrowButtonGap The size of the gap between number buttons and arrow buttons | |
| arrowsVisible | back to summary |
|---|---|
| private BooleanProperty arrowsVisible | |
| behavior | back to summary |
|---|---|
| private final PaginationBehavior behavior | |
| clampAnimationEndEventHandler | back to summary |
|---|---|
| private EventHandler<ActionEvent> clampAnimationEndEventHandler | |
| clipRect | back to summary |
|---|---|
| private Rectangle clipRect | |
| currentAnimatedIndex | back to summary |
|---|---|
| private int currentAnimatedIndex | |
| currentIndex | back to summary |
|---|---|
| private int currentIndex | |
| currentStackPane | back to summary |
|---|---|
| private StackPane currentStackPane | |
| DEFAULT_ARROW_VISIBLE | back to summary |
|---|---|
| private static final Boolean DEFAULT_ARROW_VISIBLE | |
| DEFAULT_PAGE_INFORMATION_ALIGNMENT | back to summary |
|---|---|
| private static final Side DEFAULT_PAGE_INFORMATION_ALIGNMENT | |
| DEFAULT_PAGE_INFORMATION_VISIBLE | back to summary |
|---|---|
| private static final Boolean DEFAULT_PAGE_INFORMATION_VISIBLE | |
| DEFAULT_TOOLTIP_VISIBLE | back to summary |
|---|---|
| private static final Boolean DEFAULT_TOOLTIP_VISIBLE | |
| direction | back to summary |
|---|---|
| private int direction | |
| DURATION | back to summary |
|---|---|
| private static final Duration DURATION | |
| fromIndex | back to summary |
|---|---|
| private int fromIndex | |
| hasPendingAnimation | back to summary |
|---|---|
| private volatile boolean hasPendingAnimation | |
| interpolator | back to summary |
|---|---|
| private static final Interpolator interpolator | |
| lastTouchPos | back to summary |
|---|---|
| private double lastTouchPos | |
| lastTouchTime | back to summary |
|---|---|
| private long lastTouchTime | |
| maxPageIndicatorCount | back to summary |
|---|---|
| private int maxPageIndicatorCount | |
| navigation | back to summary |
|---|---|
| private final PaginationSkin. | |
| nextPageReached | back to summary |
|---|---|
| private boolean nextPageReached | |
| nextStackPane | back to summary |
|---|---|
| private StackPane nextStackPane | |
| pageCount | back to summary |
|---|---|
| private int pageCount | |
| pageInformationAlignment | back to summary |
|---|---|
| private ObjectProperty<Side> pageInformationAlignment | |
| pageInformationVisible | back to summary |
|---|---|
| private BooleanProperty pageInformationVisible | |
| previousIndex | back to summary |
|---|---|
| private int previousIndex | |
| setInitialDirection | back to summary |
|---|---|
| private boolean setInitialDirection | |
| startTouchPos | back to summary |
|---|---|
| private double startTouchPos | |
| startTouchTime | back to summary |
|---|---|
| private long startTouchTime | |
| SWIPE_THRESHOLD | back to summary |
|---|---|
| private static final double SWIPE_THRESHOLD | |
| swipeAnimationEndEventHandler | back to summary |
|---|---|
| private EventHandler<ActionEvent> swipeAnimationEndEventHandler | |
| timeline | back to summary |
|---|---|
| private Timeline timeline | |
| toIndex | back to summary |
|---|---|
| private int toIndex | |
| tooltipVisible | back to summary |
|---|---|
| private BooleanProperty tooltipVisible | |
| TOUCH_THRESHOLD | back to summary |
|---|---|
| private static final double TOUCH_THRESHOLD | |
| touchEventId | back to summary |
|---|---|
| private int touchEventId | |
| touchThresholdBroken | back to summary |
|---|---|
| private boolean touchThresholdBroken | |
| touchVelocity | back to summary |
|---|---|
| private double touchVelocity | |
| PaginationSkin | back to summary |
|---|---|
| public PaginationSkin(final Pagination control) Creates a new PaginationSkin instance, installing the necessary child
nodes into the Control
| |
| animateClamping | back to summary |
|---|---|
| private void animateClamping(boolean rightToLeft) | |
| animateSwitchPage | back to summary |
|---|---|
| private void animateSwitchPage() | |
| arrowButtonGapProperty | back to summary |
|---|---|
| private final DoubleProperty arrowButtonGapProperty() | |
| arrowsVisibleProperty | back to summary |
|---|---|
| private final BooleanProperty arrowsVisibleProperty() | |
| computeMinHeight | back to summary |
|---|---|
| protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Computes the minimum allowable height of the Skin, based on the provided width.
| |
| computeMinWidth | back to summary |
|---|---|
| protected double computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Computes the minimum allowable width of the Skin, based on the provided height.
| |
| computePrefHeight | back to summary |
|---|---|
| protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Calculates the preferred height of this
| |
| computePrefWidth | back to summary |
|---|---|
| protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Calculates the preferred width of this
| |
| createPage | back to summary |
|---|---|
| private boolean createPage(StackPane pane, int index) | |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides javafx. Implements javafx. Doc from javafx. Called when a previously installed skin is about to be removed from its associated control.
This allows the skin to do clean up, like removing listeners and bindings, and undo any changes
to the control's properties.
After this method completes,
Calling
| |
| getArrowButtonGap | back to summary |
|---|---|
| private final double getArrowButtonGap() | |
| getClassCssMetaData | back to summary |
|---|---|
| public static List Hides javafx. Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.
| |
| getCssMetaData | back to summary |
|---|---|
| public List Overrides javafx. Doc from javafx. This method should delegate to
| |
| getCurrentPageIndex | back to summary |
|---|---|
| private int getCurrentPageIndex() | |
| getMaxPageIndicatorCount | back to summary |
|---|---|
| private int getMaxPageIndicatorCount() | |
| getPageCount | back to summary |
|---|---|
| private int getPageCount() | |
| getPageInformationAlignment | back to summary |
|---|---|
| private final Side getPageInformationAlignment() | |
| initializeSwipeAndTouchHandlers | back to summary |
|---|---|
| private void initializeSwipeAndTouchHandlers() | |
| install | back to summary |
|---|---|
| public void install() Overrides default javafx. Doc from javafx. Called once when Application code must not call this method. The default implementation of this method does nothing.
| |
| isArrowsVisible | back to summary |
|---|---|
| private final boolean isArrowsVisible() | |
| isPageInformationVisible | back to summary |
|---|---|
| private final boolean isPageInformationVisible() | |
| isTooltipVisible | back to summary |
|---|---|
| private final boolean isTooltipVisible() | |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren(final double x, final double y, final double w, final double h) Overrides javafx. Doc from javafx. Called during the layout pass of the scenegraph.
| |
| pageInformationAlignmentProperty | back to summary |
|---|---|
| private final ObjectProperty | |
| pageInformationVisibleProperty | back to summary |
|---|---|
| private final BooleanProperty pageInformationVisibleProperty() | |
| queryAccessibleAttribute | back to summary |
|---|---|
| protected Object queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters) Overrides javafx. Doc from javafx. This method is called by the assistive technology to request the value for an attribute.
This method is commonly overridden by subclasses to implement
attributes that are required for a specific role.
| |
| resetIndexes | back to summary |
|---|---|
| private void resetIndexes(boolean usePageIndex) | |
| resetIndiciesAndNav | back to summary |
|---|---|
| private void resetIndiciesAndNav() | |
| selectNext | back to summary |
|---|---|
| private void selectNext() | |
| selectPrevious | back to summary |
|---|---|
| private void selectPrevious() | |
| setArrowButtonGap | back to summary |
|---|---|
| private final void setArrowButtonGap(double value) | |
| setArrowsVisible | back to summary |
|---|---|
| private final void setArrowsVisible(boolean value) | |
| setPageInformationAlignment | back to summary |
|---|---|
| private final void setPageInformationAlignment(Side value) | |
| setPageInformationVisible | back to summary |
|---|---|
| private final void setPageInformationVisible(boolean value) | |
| setTooltipVisible | back to summary |
|---|---|
| private final void setTooltipVisible(boolean value) | |
| swapPanes | back to summary |
|---|---|
| private void swapPanes() | |
| tooltipVisibleProperty | back to summary |
|---|---|
| private final BooleanProperty tooltipVisibleProperty() | |
| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | executeAccessibleAction(AccessibleAction action, Object... parameters)
Overrides javafx. This method is called by the assistive technology to request the action indicated by the argument should be executed. |
| public void | fire()
Overrides javafx. Invoked when a user gesture indicates that an event for this
|
| public int | |
| public Object | queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters)
Overrides javafx. This method is called by the assistive technology to request the value for an attribute. |
| private void | |
| private void |
| pageNumber | back to summary |
|---|---|
| private int pageNumber | |
| IndicatorButton | back to summary |
|---|---|
| public IndicatorButton(int pageNumber) | |
| executeAccessibleAction | back to summary |
|---|---|
| public void executeAccessibleAction(AccessibleAction action, Object... parameters) Overrides javafx. Doc from javafx. This method is called by the assistive technology to request the action indicated by the argument should be executed.
This method is commonly overridden by subclasses to implement
action that are required for a specific role.
| |
| fire | back to summary |
|---|---|
| public void fire() Overrides javafx. Doc from javafx. Invoked when a user gesture indicates that an event for this
If invoked, this method will be executed regardless of the status of
| |
| getPageNumber | back to summary |
|---|---|
| public int getPageNumber() | |
| queryAccessibleAttribute | back to summary |
|---|---|
| public Object queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters) Overrides javafx. Doc from javafx. This method is called by the assistive technology to request the value for an attribute.
This method is commonly overridden by subclasses to implement
attributes that are required for a specific role.
| |
| setBulletIndicatorType | back to summary |
|---|---|
| private void setBulletIndicatorType(boolean on) | |
| setTooltipVisible | back to summary |
|---|---|
| private void setTooltipVisible(boolean b) | |
| Modifier and Type | Field and Description |
|---|---|
| private static final CssMetaData | |
| private static final CssMetaData | |
| private static final CssMetaData | |
| private static final CssMetaData | |
| private static final List | |
| private static final CssMetaData |
| Access | Constructor and Description |
|---|---|
| private |
| ARROW_BUTTON_GAP | back to summary |
|---|---|
| private static final CssMetaData<Pagination, Number> ARROW_BUTTON_GAP | |
| ARROWS_VISIBLE | back to summary |
|---|---|
| private static final CssMetaData<Pagination, Boolean> ARROWS_VISIBLE | |
| PAGE_INFORMATION_ALIGNMENT | back to summary |
|---|---|
| private static final CssMetaData<Pagination, Side> PAGE_INFORMATION_ALIGNMENT | |
| PAGE_INFORMATION_VISIBLE | back to summary |
|---|---|
| private static final CssMetaData<Pagination, Boolean> PAGE_INFORMATION_VISIBLE | |
| STYLEABLES | back to summary |
|---|---|
| private static final List<CssMetaData<? extends Styleable, ?>> STYLEABLES | |
| TOOLTIP_VISIBLE | back to summary |
|---|---|
| private static final CssMetaData<Pagination, Boolean> TOOLTIP_VISIBLE | |
| StyleableProperties | back to summary |
|---|---|
| private StyleableProperties() | |