ListView control.
ListView
| Modifier and Type | Field and Description |
|---|---|
| private ListViewBehavior | |
| private static final String | |
| private final VirtualFlow | |
| private static final boolean | |
| private int | |
| private final InvalidationListener | |
| private ObservableList | |
| private final ListChangeListener | |
| private boolean | |
| private boolean | |
| private Node | |
| private StackPane | placeholderRegion
Region placed over the top of the flow (and possibly the header row) if there is no data. |
| private MapChangeListener | |
| private WeakInvalidationListener | |
| private final WeakListChangeListener | |
| private WeakMapChangeListener |
| Access | Constructor and Description |
|---|---|
| public | ListViewSkin(final ListView<T>
The control that this skin should be installed onto. control)Creates a new ListViewSkin instance, installing the necessary child
nodes into the Control |
| Modifier and Type | Method and Description |
|---|---|
| protected double | computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Calculates the preferred height of this |
| protected double | computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Calculates the preferred width of this |
| private ListCell | |
| private static <T> ListCell | |
| public void | dispose()
Overrides javafx. Implements javafx. Called when a previously installed skin is about to be removed from its associated control. |
| protected void | executeAccessibleAction(AccessibleAction action, Object... parameters)
Overrides javafx. This method is called by the assistive technology to request the action indicated by the argument should be executed. |
| protected int | getItemCount()
Implements abstract javafx. Returns the total number of items in this container, including those that are currently hidden because they are out of view. |
| private void | |
| protected void | layoutChildren(final double x, final double y, final double w, final double h)
Overrides javafx. Called during the layout pass of the scenegraph. |
| private void | |
| private void | |
| private void | |
| private void | |
| private int | onScrollPageDown(boolean isFocusDriven)
Function used to scroll the container down by one 'page', although if this is a horizontal container, then the scrolling will be to the right. |
| private int | onScrollPageUp(boolean isFocusDriven)
Function used to scroll the container up by one 'page', although if this is a horizontal container, then the scrolling will be to the left. |
| private void | |
| private void | |
| protected Object | queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters)
Overrides javafx. This method is called by the assistive technology to request the value for an attribute. |
| protected void | updateItemCount()
Implements abstract javafx. This method is called when it is possible that the item count has changed (i.e. scrolling has occurred, the control has resized, etc). |
| private void | |
| private final void | |
| private void |
| behavior | back to summary |
|---|---|
| private ListViewBehavior<T> behavior | |
| EMPTY_LIST_TEXT | back to summary |
|---|---|
| private static final String EMPTY_LIST_TEXT | |
| flow | back to summary |
|---|---|
| private final VirtualFlow<ListCell<T>> flow | |
| IS_PANNABLE | back to summary |
|---|---|
| private static final boolean IS_PANNABLE | |
| itemCount | back to summary |
|---|---|
| private int itemCount | |
| itemsChangeListener | back to summary |
|---|---|
| private final InvalidationListener itemsChangeListener | |
| listViewItems | back to summary |
|---|---|
| private ObservableList<T> listViewItems | |
| listViewItemsListener | back to summary |
|---|---|
| private final ListChangeListener<T> listViewItemsListener | |
| needCellsRebuilt | back to summary |
|---|---|
| private boolean needCellsRebuilt | |
| needCellsReconfigured | back to summary |
|---|---|
| private boolean needCellsReconfigured | |
| placeholderNode | back to summary |
|---|---|
| private Node placeholderNode | |
| placeholderRegion | back to summary |
|---|---|
| private StackPane placeholderRegion Region placed over the top of the flow (and possibly the header row) if there is no data. | |
| propertiesMapListener | back to summary |
|---|---|
| private MapChangeListener<Object, Object> propertiesMapListener | |
| weakItemsChangeListener | back to summary |
|---|---|
| private WeakInvalidationListener weakItemsChangeListener | |
| weakListViewItemsListener | back to summary |
|---|---|
| private final WeakListChangeListener<T> weakListViewItemsListener | |
| weakPropertiesMapListener | back to summary |
|---|---|
| private WeakMapChangeListener<Object, Object> weakPropertiesMapListener | |
| ListViewSkin | back to summary |
|---|---|
| public ListViewSkin(final ListView<T> control) Creates a new ListViewSkin instance, installing the necessary child
nodes into the Control
| |
| computePrefHeight | back to summary |
|---|---|
| protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Calculates the preferred height of this
| |
| computePrefWidth | back to summary |
|---|---|
| protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Calculates the preferred width of this
| |
| createCell | back to summary |
|---|---|
| private ListCell | |
| createDefaultCellImpl | back to summary |
|---|---|
| private static <T> ListCell | |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides javafx. Implements javafx. Doc from javafx. Called when a previously installed skin is about to be removed from its associated control.
This allows the skin to do clean up, like removing listeners and bindings, and undo any changes
to the control's properties.
After this method completes,
Calling Overridden to remove EventHandler.
| |
| executeAccessibleAction | back to summary |
|---|---|
| protected void executeAccessibleAction(AccessibleAction action, Object... parameters) Overrides javafx. Doc from javafx. This method is called by the assistive technology to request the action indicated by the argument should be executed.
This method is commonly overridden by subclasses to implement
action that are required for a specific role.
| |
| getItemCount | back to summary |
|---|---|
| protected int getItemCount() Implements abstract javafx. Doc from javafx. Returns the total number of items in this container, including those that are currently hidden because they are out of view.
| |
| horizontalUnitScroll | back to summary |
|---|---|
| private void horizontalUnitScroll(boolean right) | |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren(final double x, final double y, final double w, final double h) Overrides javafx. Doc from javafx. Called during the layout pass of the scenegraph.
| |
| onFocusNextCell | back to summary |
|---|---|
| private void onFocusNextCell() | |
| onFocusPreviousCell | back to summary |
|---|---|
| private void onFocusPreviousCell() | |
| onMoveToFirstCell | back to summary |
|---|---|
| private void onMoveToFirstCell() | |
| onMoveToLastCell | back to summary |
|---|---|
| private void onMoveToLastCell() | |
| onScrollPageDown | back to summary |
|---|---|
| private int onScrollPageDown(boolean isFocusDriven) Function used to scroll the container down by one 'page', although if this is a horizontal container, then the scrolling will be to the right. | |
| onScrollPageUp | back to summary |
|---|---|
| private int onScrollPageUp(boolean isFocusDriven) Function used to scroll the container up by one 'page', although if this is a horizontal container, then the scrolling will be to the left. | |
| onSelectNextCell | back to summary |
|---|---|
| private void onSelectNextCell() | |
| onSelectPreviousCell | back to summary |
|---|---|
| private void onSelectPreviousCell() | |
| queryAccessibleAttribute | back to summary |
|---|---|
| protected Object queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters) Overrides javafx. Doc from javafx. This method is called by the assistive technology to request the value for an attribute.
This method is commonly overridden by subclasses to implement
attributes that are required for a specific role.
| |
| updateItemCount | back to summary |
|---|---|
| protected void updateItemCount() Implements abstract javafx. Doc from javafx. This method is called when it is possible that the item count has changed (i.e. scrolling has occurred,
the control has resized, etc). This method should recalculate the item count and store that for future
use by the
| |
| updateListViewItems | back to summary |
|---|---|
| private void updateListViewItems() | |
| updatePlaceholderRegionVisibility | back to summary |
|---|---|
| private final void updatePlaceholderRegionVisibility() | |
| verticalUnitScroll | back to summary |
|---|---|
| private void verticalUnitScroll(boolean down) | |