| Modifier and Type | Field and Description |
|---|---|
| private ObjectProperty | |
| private final ObservableList | |
| private final ListView | |
| private boolean | |
| private final ObjectProperty | |
| private final ObservableList |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final ObjectProperty | Returns: the cell factory propertySetting a custom cell factory has the effect of deferring all cell creation, allowing for total customization of the cell. |
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| public final Callback | |
| public final ListView | |
| public final ProgressIndicator | |
| public String | getUserAgentStylesheet()
Overrides javafx. An implementation may specify its own user-agent styles for this Region, and its children, by overriding this method. |
| public final ObjectProperty | Returns: the progress indicatorThe progress indicator that will be used to display percentage progress or the indeterminate state of the loading progress. |
| public final void | refresh()
Implements abstract com. Triggers a rebuild of the view without reloading data. |
| public final void | setCellFactory(Callback<ListView<T>, ListCell<T>>
cell factory to use in this ListView value)Sets a new cell factory to use in the ListView. |
| public final void |
| cellFactory | back to summary |
|---|---|
| private ObjectProperty<Callback<ListView<T>, ListCell<T>>> cellFactory | |
| items | back to summary |
|---|---|
| private final ObservableList<T> items | |
| listView | back to summary |
|---|---|
| private final ListView<T> listView | |
| processingService | back to summary |
|---|---|
| private boolean processingService Hides com. | |
| progressIndicator | back to summary |
|---|---|
| private final ObjectProperty<ProgressIndicator> progressIndicator | |
| unmodifiableItems | back to summary |
|---|---|
| private final ObservableList<T> unmodifiableItems | |
| PagingListView | back to summary |
|---|---|
| public PagingListView() Constructs a new PagingListView instance. The PagingListView is a custom control that provides paging functionality for a list view, allowing for efficient display and navigation of large datasets across multiple pages. This constructor initializes the PagingListView by performing the following steps: - Adds a custom style class ("paging-list-view") to the control. - Configures the internal ListView, including setting a custom style class ("inner-list-view"), enabling "multiple selection" mode, and establishing bindings for the cell factory and items displayed on the current page. - Binds the selection model of the PagingListView to the internal ListView for consistent selection behavior. - Sets a default cell factory to customize the rendering of items in the list. - Listens to changes in the cell factory property and triggers a refresh when modifications occur. | |
| cellFactoryProperty | back to summary |
|---|---|
| public final ObjectProperty Setting a custom cell factory has the effect of deferring all cell creation, allowing for total customization of the cell. Internally, the ListView is responsible for reusing ListCells - all that is necessary is for the custom cell factory to return from this function a ListCell which might be usable for representing any item in the ListView. Refer to the
| |
| createDefaultSkin | back to summary |
|---|---|
| protected Skin Overrides javafx. Doc from javafx. Create a new instance of the default skin for this control. This is called to create a skin for the control if
no skin is provided via CSS
| |
| getCellFactory | back to summary |
|---|---|
| public final Callback Returns the current cell factory. | |
| getListView | back to summary |
|---|---|
| public final ListView Returns the wrapped list view.
| |
| getProgressIndicator | back to summary |
|---|---|
| public final ProgressIndicator getProgressIndicator() | |
| getUserAgentStylesheet | back to summary |
|---|---|
| public String getUserAgentStylesheet() Overrides javafx. Doc from javafx. An implementation may specify its own user-agent styles for this Region, and its children, by overriding this method. These styles are used in addition to whatever user-agent stylesheets are in use. This provides a mechanism for third parties to introduce styles for custom controls. The URL is a hierarchical URI of the form [scheme:][//authority][path]. If the URL does not have a [scheme:] component, the URL is considered to be the [path] component only. Any leading '/' character of the [path] is ignored and the [path] is treated as a path relative to the root of the application's classpath. Subclasses overriding this method should not assume any particular implementation approach as to the number and frequency with which it is called. For this reason, attempting any kind of dynamic implementation (i.e. returning different user agent stylesheet values) based on some state change is highly discouraged, as there is no guarantee when, or even if, this method will be called. Some JavaFX CSS implementations may choose to cache this response for an indefinite period of time, and therefore there should be no expectation around when this method is called.
For additional information about using CSS with the scene graph,
see the CSS Reference Guide.
| |
| progressIndicatorProperty | back to summary |
|---|---|
| public final ObjectProperty The progress indicator that will be used to display percentage progress or the indeterminate state of the loading progress.
| |
| refresh | back to summary |
|---|---|
| public final void refresh() Implements abstract com. Triggers a rebuild of the view without reloading data.
| |
| setCellFactory | back to summary |
|---|---|
| public final void setCellFactory(Callback<ListView<T>, ListCell<T>> value) Sets a new cell factory to use in the ListView. This forces all old
| |
| setProgressIndicator | back to summary |
|---|---|
| public final void setProgressIndicator(ProgressIndicator progressIndicator) | |