Class PagingGridTableViewSkin<T>
java.lang.Object
javafx.scene.control.SkinBase<PagingGridTableView<T>>
com.dlsc.gemsfx.skins.GemsSkinBase<PagingGridTableView<T>>
com.dlsc.gemsfx.skins.PagingGridTableViewSkin<T>
- Type Parameters:
T- the item type displayed by the grid table view
- All Implemented Interfaces:
javafx.scene.control.Skin<PagingGridTableView<T>>
Skin for
PagingGridTableView.
The skin combines the wrapped GridTableView with PagingControls, optionally places the table inside a
scroll pane, and positions the controls above or below the table.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringStyle class added to the content when the grid table is wrapped in a scroll pane. -
Constructor Summary
ConstructorsConstructorDescriptionPagingGridTableViewSkin(PagingGridTableView<T> pagingGridTableView) Creates a skin for the given paging grid table view. -
Method Summary
Modifier and TypeMethodDescriptionprotected doublecomputeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) protected doublecomputeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) protected doublecomputeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) protected doublecomputeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) protected doublecomputePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) protected doublecomputePrefWidth(double height, 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, 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 grid table is wrapped in a scroll pane.- See Also:
-
-
Constructor Details
-
PagingGridTableViewSkin
Creates a skin for the given paging grid table view.- Parameters:
pagingGridTableView- the paging grid table 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<PagingGridTableView<T>>
-
computeMinHeight
protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computeMinHeightin classjavafx.scene.control.SkinBase<PagingGridTableView<T>>
-
computeMaxHeight
protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computeMaxHeightin classjavafx.scene.control.SkinBase<PagingGridTableView<T>>
-
computeMinWidth
protected double computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computeMinWidthin classjavafx.scene.control.SkinBase<PagingGridTableView<T>>
-
computePrefWidth
protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computePrefWidthin classjavafx.scene.control.SkinBase<PagingGridTableView<T>>
-
computeMaxWidth
protected double computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computeMaxWidthin classjavafx.scene.control.SkinBase<PagingGridTableView<T>>
-