Class PagingListViewSkin<T>
java.lang.Object
javafx.scene.control.SkinBase<PagingListView<T>>
- Type Parameters:
T- the item type displayed by the list view
- All Implemented Interfaces:
javafx.scene.control.Skin<PagingListView<T>>
Skin for
PagingListView.
The skin combines the inner list view with PagingControls, optionally wraps the list in a scroll pane, and
overlays the configured placeholder when the current page has no items.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringStyle class added to the content when the list view is wrapped in a scroll pane. -
Constructor Summary
ConstructorsConstructorDescriptionPagingListViewSkin(PagingListView<T> pagingListView) Creates a skin for the given paging list view. -
Method Summary
Modifier and TypeMethodDescriptionprotected doublecomputeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) protected doublecomputeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) protected doublecomputePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) Methods inherited from class GemsSkinBase
dispose, register, register, register, register, registerFilter, registerHandlerMethods inherited from class javafx.scene.control.SkinBase
computeBaselineOffset, computeMaxWidth, computeMinWidth, 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
-
Field Details
-
USING_SCROLL_PANE
Style class added to the content when the list view is wrapped in a scroll pane.- See Also:
-
-
Constructor Details
-
PagingListViewSkin
Creates a skin for the given paging list view.- Parameters:
pagingListView- the paging list view rendered by this skin
-
-
Method Details
-
computePrefHeight
protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computePrefHeightin classjavafx.scene.control.SkinBase<PagingListView<T>>
-
computeMinHeight
protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computeMinHeightin classjavafx.scene.control.SkinBase<PagingListView<T>>
-
computeMaxHeight
protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computeMaxHeightin classjavafx.scene.control.SkinBase<PagingListView<T>>
-