Top Description Inners Fields Constructors Methods
javafx.scene.control.skin

public Class PaginationSkin

extends SkinBase<Pagination>
Class Inheritance
Static Imports
com.sun.javafx.scene.control.skin.resources.ControlResources.getString

Default skin implementation for the Pagination control.
Since
9
See Also
Pagination

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv class
private static class

Field Summary

Modifier and TypeField 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<ActionEvent>
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 boolean
private static final Interpolator
private double
private long
private int
private boolean
private StackPane
private int
private ObjectProperty<Side>
private BooleanProperty
private int
private boolean
private double
private long
private static final double
private EventHandler<ActionEvent>
private Timeline
private int
private BooleanProperty
private static final double
private int
private boolean
private double

Constructor Summary

AccessConstructor 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 children list, as well as the necessary input mappings for handling key, mouse, etc events.

Method Summary

Modifier and TypeMethod and Description
private void
animateClamping(boolean rightToLeft)

private void
private final DoubleProperty
private final BooleanProperty
protected double
computeMinHeight(double
The width of the Skin, in case this value might dictate the minimum height.
width
,
double
the pixel snapped top inset
topInset
,
double
the pixel snapped right inset
rightInset
,
double
the pixel snapped bottom inset
bottomInset
,
double
the pixel snapped left inset
leftInset
)

Overrides javafx.scene.control.SkinBase.computeMinHeight.

Computes the minimum allowable height of the Skin, based on the provided width.

protected double
computeMinWidth(double
The height of the Skin, in case this value might dictate the minimum width.
height
,
double
the pixel snapped top inset
topInset
,
double
the pixel snapped right inset
rightInset
,
double
the pixel snapped bottom inset
bottomInset
,
double
the pixel snapped left inset
leftInset
)

Overrides javafx.scene.control.SkinBase.computeMinWidth.

Computes the minimum allowable width of the Skin, based on the provided height.

protected double
computePrefHeight(double
the width that should be used if preferred height depends on it
width
,
double
the pixel snapped top inset
topInset
,
double
the pixel snapped right inset
rightInset
,
double
the pixel snapped bottom inset
bottomInset
,
double
the pixel snapped left inset
leftInset
)

Overrides javafx.scene.control.SkinBase.computePrefHeight.

Calculates the preferred height of this SkinBase.

protected double
computePrefWidth(double
the height that should be used if preferred width depends on it
height
,
double
the pixel snapped top inset
topInset
,
double
the pixel snapped right inset
rightInset
,
double
the pixel snapped bottom inset
bottomInset
,
double
the pixel snapped left inset
leftInset
)

Overrides javafx.scene.control.SkinBase.computePrefWidth.

Calculates the preferred width of this SkinBase.

private boolean
createPage(StackPane pane, int index)

public void
dispose()

Overrides javafx.scene.control.SkinBase.dispose.

Implements javafx.scene.control.Skin.dispose.

Called when a previously installed skin is about to be removed from its associated control.

private final double
public static List<CssMetaData<? extends Styleable, ?>>

Returns:

the CssMetaData associated with this class, which may include the CssMetaData of its superclasses
getClassCssMetaData
()

Hides javafx.scene.control.SkinBase.getClassCssMetaData.

Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.

public List<CssMetaData<? extends Styleable, ?>>
getCssMetaData()

Overrides javafx.scene.control.SkinBase.getCssMetaData.

This method should delegate to Node#getClassCssMetaData() so that a Node's CssMetaData can be accessed without the need for reflection.

private int
private int
private int
private final Side
private void
public void
install()

Overrides default javafx.scene.control.Skin.install.

Called once when Skin is set.

private final boolean
private final boolean
private final boolean
protected void
layoutChildren(final double
the x position
x
,
final double
the y position
y
,
final double
the width
w
,
final double
the height
h
)

Overrides javafx.scene.control.SkinBase.layoutChildren.

Called during the layout pass of the scenegraph.

private final ObjectProperty<Side>
private final BooleanProperty
protected Object
queryAccessibleAttribute(AccessibleAttribute
the requested attribute
attribute
,
Object...
optional list of parameters
parameters
)

Overrides javafx.scene.control.SkinBase.queryAccessibleAttribute.

This method is called by the assistive technology to request the value for an attribute.

private void
resetIndexes(boolean usePageIndex)

private void
private void
private void
private final void
setArrowButtonGap(double value)

private final void
setArrowsVisible(boolean value)

private final void
private final void
private final void
setTooltipVisible(boolean value)

private void
private final BooleanProperty
Inherited from javafx.scene.control.SkinBase:
computeBaselineOffsetcomputeMaxHeightcomputeMaxWidthconsumeMouseEventsexecuteAccessibleActiongetChildrengetNodegetSkinnablelayoutInArealayoutInArealayoutInAreapositionInAreapositionInAreapseudoClassStateChangedregisterChangeListenerregisterInvalidationListenerregisterListChangeListenersnappedBottomInsetsnappedLeftInsetsnappedRightInsetsnappedTopInsetsnapPositionsnapPositionXsnapPositionYsnapSizesnapSizeXsnapSizeYsnapSpacesnapSpaceXsnapSpaceYunregisterChangeListenersunregisterInvalidationListenersunregisterListChangeListeners