TreeItem value
property for all tree items in this TreeView
TreeView control.
TreeView
| Modifier and Type | Field and Description |
|---|---|
| private final TreeViewBehavior | |
| private final VirtualFlow | |
| private static final boolean | |
| private MapChangeListener | |
| private EventHandler | |
| private WeakReference | |
| private WeakEventHandler |
| Access | Constructor and Description |
|---|---|
| public | TreeViewSkin(final TreeView<T>
The control that this skin should be installed onto. control)Creates a new TreeViewSkin instance, installing the necessary child
nodes into the Control |
| Modifier and Type | Method and Description |
|---|---|
| protected double | computePrefHeight(double
the width that should be used if preferred height depends on it width, double the pixel snapped top inset topInset, double the pixel snapped right inset rightInset, double the pixel snapped bottom inset bottomInset, double the pixel snapped left inset leftInset)Overrides javafx. Calculates the preferred height of this |
| protected double | computePrefWidth(double
the height that should be used if preferred width depends on it height, double the pixel snapped top inset topInset, double the pixel snapped right inset rightInset, double the pixel snapped bottom inset bottomInset, double the pixel snapped left inset leftInset)Overrides javafx. Calculates the preferred width of this |
| private TreeCell | |
| private TreeCell | |
| 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
the action to execute action, Object... optional list of parameters 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 TreeItem | |
| private void | |
| protected void | layoutChildren(final double
the x position x, final double the y position y, final double the width w, final double the height h)Overrides javafx. Called during the layout pass of the scenegraph. |
| private void | |
| private void | |
| private void | |
| private void | |
| private int | |
| private int | |
| private void | |
| private void | |
| protected Object | queryAccessibleAttribute(AccessibleAttribute
the requested attribute attribute, Object... optional list of parameters parameters)Overrides javafx. This method is called by the assistive technology to request the value for an attribute. |
| private void | |
| 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 |
| behavior | back to summary |
|---|---|
| private final TreeViewBehavior<T> behavior | |
| flow | back to summary |
|---|---|
| private final VirtualFlow<TreeCell<T>> flow | |
| IS_PANNABLE | back to summary |
|---|---|
| private static final boolean IS_PANNABLE | |
| propertiesMapListener | back to summary |
|---|---|
| private MapChangeListener<Object, Object> propertiesMapListener | |
| rootListener | back to summary |
|---|---|
| private EventHandler<TreeItem. | |
| weakRoot | back to summary |
|---|---|
| private WeakReference<TreeItem<T>> weakRoot | |
| weakRootListener | back to summary |
|---|---|
| private WeakEventHandler<TreeItem. | |
| TreeViewSkin | back to summary |
|---|---|
| public TreeViewSkin(final TreeView<T> control) Creates a new TreeViewSkin 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 TreeCell | |
| createDefaultCellImpl | back to summary |
|---|---|
| private TreeCell | |
| 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.
| |
| getRoot | back to summary |
|---|---|
| private TreeItem | |
| 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'. | |
| onScrollPageUp | back to summary |
|---|---|
| private int onScrollPageUp(boolean isFocusDriven) Function used to scroll the container up by one 'page'. | |
| 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.
| |
| setRoot | back to summary |
|---|---|
| private void setRoot(TreeItem<T> newRoot) | |
| 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
| |
| verticalUnitScroll | back to summary |
|---|---|
| private void verticalUnitScroll(boolean down) | |