Top Fields Constructors Methods
com.dlsc.gemsfx.skins

public Class InnerListViewSkin<T>

extends ListViewSkin<T>
Class Inheritance
Imports
com.dlsc.gemsfx.LoadingPane, com.dlsc.gemsfx.paging.PagingListView, javafx.collections.MapChangeListener, javafx.geometry.Orientation, .Pos, javafx.scene.Node, javafx.scene.control.Label, .ListCell, .ListView, javafx.scene.control.skin.ListViewSkin, javafx.scene.layout.Priority, .VBox, javafx.util.Callback, java.util.Objects

Field Summary

Modifier and TypeField and Description
private final VBox
private final LoadingPane
private final PagingListView<T>
private Label

Constructor Summary

AccessConstructor and Description
public
InnerListViewSkin(ListView<T> control, PagingListView<T> pagingListView)

Method Summary

Modifier and TypeMethod and Description
private void
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
computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMaxWidth.

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

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
computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMinWidth.

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.scene.control.skin.ListViewSkin.computePrefHeight.

Calculates the preferred height of this SkinBase.

protected double
computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.skin.ListViewSkin.computePrefWidth.

Calculates the preferred width of this SkinBase.

protected void
layoutChildren(double x, double y, double w, double h)

Overrides javafx.scene.control.skin.ListViewSkin.layoutChildren.

Called during the layout pass of the scenegraph.

public void
Inherited from javafx.scene.control.skin.ListViewSkin:
disposeexecuteAccessibleActiongetItemCountqueryAccessibleAttributeupdateItemCount

Field Detail

contentback to summary
private final VBox content
loadingPaneback to summary
private final LoadingPane loadingPane
pagingListViewback to summary
private final PagingListView<T> pagingListView
placeholderLabelback to summary
private Label placeholderLabel

Constructor Detail

InnerListViewSkinback to summary
public InnerListViewSkin(ListView<T> control, PagingListView<T> pagingListView)

Method Detail

buildItemsback to summary
private void buildItems()
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
computeMaxWidthback to summary
protected double computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMaxWidth.

Doc from javafx.scene.control.SkinBase.computeMaxWidth.

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

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
computeMinWidthback to summary
protected double computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMinWidth.

Doc from javafx.scene.control.SkinBase.computeMinWidth.

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

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

Overrides javafx.scene.control.skin.ListViewSkin.computePrefHeight.

Doc from javafx.scene.control.skin.ListViewSkin.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
computePrefWidthback to summary
protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.skin.ListViewSkin.computePrefWidth.

Doc from javafx.scene.control.skin.ListViewSkin.computePrefWidth.

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

Annotations
@Override
layoutChildrenback to summary
protected void layoutChildren(double x, double y, double w, double h)

Overrides javafx.scene.control.skin.ListViewSkin.layoutChildren.

Doc from javafx.scene.control.skin.ListViewSkin.layoutChildren.

Called during the layout pass of the scenegraph.

Annotations
@Override
refreshback to summary
public void refresh()