Top Fields Constructors Methods
com.dlsc.gemsfx.skins

public Class PagingListViewSkin<T>

extends SkinBase<PagingListView<T>>
Class Inheritance
Imports
com.dlsc.gemsfx.paging.PagingControls, .PagingListView, javafx.beans.InvalidationListener, .Observable, javafx.beans.binding.Bindings, javafx.css.PseudoClass, javafx.geometry.Side, javafx.scene.Node, javafx.scene.control.ListView, .ScrollBar, .ScrollPane, .SkinBase, javafx.scene.control.skin.ScrollPaneSkin, javafx.scene.layout.Priority, .StackPane, .VBox

Field Summary

Modifier and TypeField and Description
private final VBox
private final ListView<T>
private final PagingControls
private final StackPane
public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
bindPlaceholderVisibility(Node oldPlaceholder, Node newPlaceholder)

protected double
computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMaxHeight.

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

protected double
computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMinHeight.

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

protected double
computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computePrefHeight.

Calculates the preferred height of this SkinBase.

private void
listenToScrollBar(ScrollBar scrollBar, boolean vertical)

private void
private void
private Node
Inherited from javafx.scene.control.SkinBase:
computeBaselineOffsetcomputeMaxWidthcomputeMinWidthcomputePrefWidthconsumeMouseEventsdisposeexecuteAccessibleActiongetChildrengetClassCssMetaDatagetCssMetaDatagetNodegetSkinnablelayoutChildrenlayoutInArealayoutInArealayoutInAreapositionInAreapositionInAreapseudoClassStateChangedqueryAccessibleAttributeregisterChangeListenerregisterInvalidationListenerregisterListChangeListenersnappedBottomInsetsnappedLeftInsetsnappedRightInsetsnappedTopInsetsnapPositionsnapPositionXsnapPositionYsnapSizesnapSizeXsnapSizeYsnapSpacesnapSpaceXsnapSpaceYunregisterChangeListenersunregisterInvalidationListenersunregisterListChangeListeners

Field Detail

contentback to summary
private final VBox content
innerListViewback to summary
private final ListView<T> innerListView
pagingControlsback to summary
private final PagingControls pagingControls
stackPaneback to summary
private final StackPane stackPane
USING_SCROLL_PANEback to summary
public static final String USING_SCROLL_PANE

Constructor Detail

PagingListViewSkinback to summary
public PagingListViewSkin(PagingListView<T> pagingListView)

Method Detail

bindPlaceholderVisibilityback to summary
private void bindPlaceholderVisibility(Node oldPlaceholder, Node newPlaceholder)
computeMaxHeightback to summary
protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMaxHeight.

Doc from javafx.scene.control.SkinBase.computeMaxHeight.

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

Annotations
@Override
computeMinHeightback to summary
protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMinHeight.

Doc from javafx.scene.control.SkinBase.computeMinHeight.

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

Annotations
@Override
computePrefHeightback to summary
protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computePrefHeight.

Doc from javafx.scene.control.SkinBase.computePrefHeight.

Calculates the preferred height of this SkinBase. The default implementation calculates this height as the height of the area occupied by its managed children when they are positioned at their current positions at their preferred heights.

Annotations
@Override
listenToScrollBarback to summary
private void listenToScrollBar(ScrollBar scrollBar, boolean vertical)
updateStyleClassback to summary
private void updateStyleClass()
updateViewback to summary
private void updateView()
wrapInScrollPaneback to summary
private Node wrapInScrollPane(Node node)