PagingGridTableView class is a control that combines a grid table with paging capabilities.
This class facilitates the display of paginated data in a table format, supporting customizable columns,
adjustable page size, and options to fill the last page with empty rows.
| Modifier and Type | Field and Description |
|---|---|
| private final ListProperty | |
| private final GridTableView |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final ListProperty | Returns: the list property ofGridTableColumn<T, ?> objects representing the columnsProvides access to the list property containing the columns of the grid table. |
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| public final ObservableList | |
| public Orientation | getContentBias()
Overrides javafx. Returns the orientation of a node's resizing bias for layout purposes. |
| public final GridTableView | |
| 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 void | refresh()
Implements abstract com. Triggers a rebuild of the view without reloading data. |
| public final void |
| columns | back to summary |
|---|---|
| private final ListProperty<GridTableColumn<T, ?>> columns | |
| gridTableView | back to summary |
|---|---|
| private final GridTableView<T> gridTableView | |
| PagingGridTableView | back to summary |
|---|---|
| public PagingGridTableView() Default constructor for the | |
| columnsProperty | back to summary |
|---|---|
| public final ListProperty Provides access to the list property containing the columns of the grid table.
| |
| 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
| |
| getColumns | back to summary |
|---|---|
| public final ObservableList | |
| getContentBias | back to summary |
|---|---|
| public Orientation getContentBias() Overrides javafx. Doc from javafx. Returns the orientation of a node's resizing bias for layout purposes. If the node type has no bias, returns null. If the node is resizable and it's height depends on its width, returns HORIZONTAL, else if its width depends on its height, returns VERTICAL. Resizable subclasses should override this method to return an appropriate value.
| |
| getGridTableView | back to summary |
|---|---|
| public final GridTableView Returns the wrapped table view.
| |
| 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.
| |
| refresh | back to summary |
|---|---|
| public final void refresh() Implements abstract com. Triggers a rebuild of the view without reloading data.
| |
| setColumns | back to summary |
|---|---|
| public final void setColumns(ObservableList<GridTableColumn<T, ?>> columns) | |