PagingListView and PagingGridTableView. It manages the common attributes
of these paging controls, such as the loading service, the loader, the loading status, the load delay, the "fill rows"
attribute, etc ...
| Modifier and Type | Field and Description |
|---|---|
| private final LongProperty | |
| private final BooleanProperty | |
| private final ObservableList | |
| private final LongProperty | |
| private final ObjectProperty | |
| private final ObjectProperty | |
| private final ObjectProperty | |
| private final ObjectProperty | |
| private final ObjectProperty | |
| private ObjectProperty | |
| private boolean | |
| private final ObjectProperty | |
| private final BooleanProperty | |
| private final BooleanProperty |
| Access | Constructor and Description |
|---|---|
| protected | ItemPagingControlBase()
Constructs an instance of ItemPagingControlBase and initializes the paging and loading service behavior. |
| Modifier and Type | Method and Description |
|---|---|
| public final LongProperty | Returns: the commit delay for the nested loading paneThe delay in milliseconds before the list view will display the progress indicator for long-running load operations. |
| public final BooleanProperty | Returns: a flag used to control whether the last page will be filled with empty cells if neededThe control might not have enough data to fill its last page with items / cells. |
| public final long | |
| public final ObservableList | Returns: the currently shown itemsReturns an observable list with the items shown by the current page. |
| public final long | |
| public final Callback | |
| public final LoadingService | |
| public final LoadingPane. | |
| public final Consumer | |
| public final Side | |
| public final Node | |
| public final MultipleSelectionModel | Returns: the currently installed selection modelReturns the currently installed selection model. |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final LongProperty | Returns: the delay before data will actually be loadedThe delay in milliseconds before the loading service will actually try to retrieve the data from (for example) a backend. |
| public final ObjectProperty | Returns: the loader propertyProvides access to the loader property, which is a callback used to handle loading of paginated data. |
| public final ObjectProperty | Returns: the loading serviceReturns the service responsible for executing the actual loading of the data on a background thread. |
| public final ObjectProperty | Returns: the loading statusThe loading status used for the wrapped |
| public final ObjectProperty | Returns: a callback for opening table itemsA callback for opening an item represented by a row in the table view. |
| public final ObjectProperty | Returns: the location where the paging controls will be shownControls on which side the paging controls should be located. |
| public final ObjectProperty | |
| private void | |
| public abstract void | |
| public final void | |
| public final ObjectProperty | Returns: the selectionModel propertyThe SelectionModel provides the API through which it is possible to select single or multiple items within a ListView, as well as inspect which items have been selected by the user. |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | setSelectionModel(MultipleSelectionModel<T>
the MultipleSelectionModel to be used in this ListView value)Sets the |
| public final void | |
| public final void | |
| public final BooleanProperty | Returns: a property that is true if the paging controls should be visibleA flag used to control the visibility of the paging controls (page buttons, previous, next, etc...). |
| public final BooleanProperty |
| commitLoadStatusDelay | back to summary |
|---|---|
| private final LongProperty commitLoadStatusDelay | |
| fillLastPage | back to summary |
|---|---|
| private final BooleanProperty fillLastPage | |
| itemsOnCurrentPage | back to summary |
|---|---|
| private final ObservableList<T> itemsOnCurrentPage | |
| loadDelayInMillis | back to summary |
|---|---|
| private final LongProperty loadDelayInMillis | |
| loader | back to summary |
|---|---|
| private final ObjectProperty<Callback<PagingLoadRequest, PagingLoadResponse<T>>> loader | |
| loadingService | back to summary |
|---|---|
| private final ObjectProperty<LoadingService<T>> loadingService | |
| loadingStatus | back to summary |
|---|---|
| private final ObjectProperty<LoadingPane. | |
| onOpenItem | back to summary |
|---|---|
| private final ObjectProperty<Consumer<T>> onOpenItem | |
| pagingControlsLocation | back to summary |
|---|---|
| private final ObjectProperty<Side> pagingControlsLocation | |
| placeholder | back to summary |
|---|---|
| private ObjectProperty<Node> placeholder | |
| processingService | back to summary |
|---|---|
| private boolean processingService | |
| selectionModel | back to summary |
|---|---|
| private final ObjectProperty<MultipleSelectionModel<T>> selectionModel | |
| showPagingControls | back to summary |
|---|---|
| private final BooleanProperty showPagingControls | |
| usingScrollPane | back to summary |
|---|---|
| private final BooleanProperty usingScrollPane | |
| ItemPagingControlBase | back to summary |
|---|---|
| protected ItemPagingControlBase() Constructs an instance of ItemPagingControlBase and initializes the paging and loading service behavior. This constructor sets up listeners and bindings for various properties to control the behavior of the pagination mechanism and the underlying loading service. Specifically:
LoadingService, applies
delay validation, and specifies constraints for the paging controls' location.
| |
| commitLoadStatusDelayProperty | back to summary |
|---|---|
| public final LongProperty commitLoadStatusDelayProperty() The delay in milliseconds before the list view will display the progress indicator for long-running load operations.
| |
| fillLastPageProperty | back to summary |
|---|---|
| public final BooleanProperty fillLastPageProperty() The control might not have enough data to fill its last page with items / cells. This flag can be used to control whether we want the control to become smaller because of missing items or if we want the view to fill the page with empty cells.
| |
| getCommitLoadStatusDelay | back to summary |
|---|---|
| public final long getCommitLoadStatusDelay() | |
| getItemsOnCurrentPage | back to summary |
|---|---|
| public final ObservableList Returns an observable list with the items shown by the current page.
| |
| getLoadDelayInMillis | back to summary |
|---|---|
| public final long getLoadDelayInMillis() | |
| getLoader | back to summary |
|---|---|
| public final Callback | |
| getLoadingService | back to summary |
|---|---|
| public final LoadingService | |
| getLoadingStatus | back to summary |
|---|---|
| public final LoadingPane. | |
| getOnOpenItem | back to summary |
|---|---|
| public final Consumer | |
| getPagingControlsLocation | back to summary |
|---|---|
| public final Side getPagingControlsLocation() | |
| getPlaceholder | back to summary |
|---|---|
| public final Node getPlaceholder() | |
| getSelectionModel | back to summary |
|---|---|
| public final MultipleSelectionModel Returns the currently installed selection model.
| |
| isFillLastPage | back to summary |
|---|---|
| public final boolean isFillLastPage() | |
| isShowPagingControls | back to summary |
|---|---|
| public final boolean isShowPagingControls() | |
| isUsingScrollPane | back to summary |
|---|---|
| public final boolean isUsingScrollPane() | |
| loadDelayInMillisProperty | back to summary |
|---|---|
| public final LongProperty loadDelayInMillisProperty() The delay in milliseconds before the loading service will actually try to retrieve the data from (for example) a backend. This delay is around a few hundred milliseconds by default. Delaying the loading has the advantage that sudden property changes will not trigger multiple backend queries but will get batched together in a single reload operation.
| |
| loaderProperty | back to summary |
|---|---|
| public final ObjectProperty Provides access to the loader property, which is a callback used to handle loading
of paginated data. The callback is responsible for processing
| |
| loadingServiceProperty | back to summary |
|---|---|
| public final ObjectProperty Returns the service responsible for executing the actual loading of the data on a background thread.
| |
| loadingStatusProperty | back to summary |
|---|---|
| public final ObjectProperty The loading status used for the wrapped
| |
| onOpenItemProperty | back to summary |
|---|---|
| public final ObjectProperty A callback for opening an item represented by a row in the table view.
| |
| pagingControlsLocationProperty | back to summary |
|---|---|
| public final ObjectProperty Controls on which side the paging controls should be located. Currently only
| |
| placeholderProperty | back to summary |
|---|---|
| public final ObjectProperty The | |
| processService | back to summary |
|---|---|
| private void processService(LoadingService<T> service) | |
| refresh | back to summary |
|---|---|
| public abstract void refresh() Triggers an explicit refresh of the control. Refreshing the view does not trigger data loading. | |
| reload | back to summary |
|---|---|
| public final void reload() Triggers an explicit reload of the list view. | |
| selectionModelProperty | back to summary |
|---|---|
| public final ObjectProperty The SelectionModel provides the API through which it is possible to select single or multiple items within a ListView, as well as inspect which items have been selected by the user. Note that it has a generic type that must match the type of the ListView itself.
| |
| setCommitLoadStatusDelay | back to summary |
|---|---|
| public final void setCommitLoadStatusDelay(long commitLoadStatusDelay) | |
| setFillLastPage | back to summary |
|---|---|
| public final void setFillLastPage(boolean fillLastPage) | |
| setLoadDelayInMillis | back to summary |
|---|---|
| public final void setLoadDelayInMillis(long loadDelayInMillis) | |
| setLoader | back to summary |
|---|---|
| public final void setLoader(Callback<PagingLoadRequest, PagingLoadResponse<T>> loader) | |
| setLoadingService | back to summary |
|---|---|
| public final void setLoadingService(LoadingService<T> loadingService) | |
| setLoadingStatus | back to summary |
|---|---|
| public final void setLoadingStatus(LoadingPane. | |
| setOnOpenItem | back to summary |
|---|---|
| public final void setOnOpenItem(Consumer<T> onOpenItem) | |
| setPagingControlsLocation | back to summary |
|---|---|
| public final void setPagingControlsLocation(Side pagingControlsLocation) | |
| setPlaceholder | back to summary |
|---|---|
| public final void setPlaceholder(Node value) | |
| setSelectionModel | back to summary |
|---|---|
| public final void setSelectionModel(MultipleSelectionModel<T> value) Sets the
| |
| setShowPagingControls | back to summary |
|---|---|
| public final void setShowPagingControls(boolean showPagingControls) | |
| setUsingScrollPane | back to summary |
|---|---|
| public final void setUsingScrollPane(boolean usingScrollPane) | |
| showPagingControlsProperty | back to summary |
|---|---|
| public final BooleanProperty showPagingControlsProperty() A flag used to control the visibility of the paging controls (page buttons, previous, next, etc...).
| |
| usingScrollPaneProperty | back to summary |
|---|---|
| public final BooleanProperty usingScrollPaneProperty() | |