public class TreeViewSkin<T> extends VirtualContainerBase<<any>,<any>>
TreeView
control.TreeView
Modifier and Type | Field and Description |
---|---|
private <any> |
behavior |
private VirtualFlow<<any>> |
flow
*
Private fields *
*
|
private static boolean |
IS_PANNABLE
*
Static fields *
*
|
private <any> |
propertiesMapListener
*
Listeners *
*
|
private <any> |
rootListener |
private java.lang.ref.WeakReference<<any>> |
weakRoot |
private <any> |
weakRootListener |
Constructor and Description |
---|
TreeViewSkin(TreeView control)
Creates a new TreeViewSkin instance, installing the necessary child
nodes into the Control
children list, as
well as the necessary input mappings for handling key, mouse, etc events. |
Modifier and Type | Method and Description |
---|---|
protected double |
computePrefHeight(double width,
double topInset,
double rightInset,
double bottomInset,
double leftInset) |
protected double |
computePrefWidth(double height,
double topInset,
double rightInset,
double bottomInset,
double leftInset) |
private <any> |
createCell(VirtualFlow<<any>> flow)
*
Private implementation *
*
|
private <any> |
createDefaultCellImpl() |
void |
dispose() |
protected void |
executeAccessibleAction(AccessibleAction action,
java.lang.Object... parameters) |
protected int |
getItemCount()
Returns the total number of items in this container, including those
that are currently hidden because they are out of view.
|
private <any> |
getRoot() |
protected void |
layoutChildren(double x,
double y,
double w,
double h) |
private void |
onFocusNextCell() |
private void |
onFocusPreviousCell() |
private void |
onMoveToFirstCell() |
private void |
onMoveToLastCell() |
private int |
onScrollPageDown(boolean isFocusDriven)
Function used to scroll the container down by one 'page'.
|
private int |
onScrollPageUp(boolean isFocusDriven)
Function used to scroll the container up by one 'page'.
|
private void |
onSelectNextCell() |
private void |
onSelectPreviousCell() |
protected java.lang.Object |
queryAccessibleAttribute(AccessibleAttribute attribute,
java.lang.Object... parameters) |
private void |
setRoot(<any> newRoot) |
protected void |
updateItemCount()
This method is called when it is possible that the item count has changed (i.e.
|
checkState, createVirtualFlow, getMaxCellWidth, getVirtualFlow, getVirtualFlowPreferredHeight, markItemCountDirty, requestRebuildCells
private static final boolean IS_PANNABLE
private final VirtualFlow<<any>> flow
private java.lang.ref.WeakReference<<any>> weakRoot
private final <any> behavior
private <any> propertiesMapListener
private <any> rootListener
private <any> weakRootListener
public TreeViewSkin(TreeView control)
children
list, as
well as the necessary input mappings for handling key, mouse, etc events.control
- The control that this skin should be installed onto.public void dispose()
protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
protected void layoutChildren(double x, double y, double w, double h)
layoutChildren
in class VirtualContainerBase<<any>,<any>>
protected java.lang.Object queryAccessibleAttribute(AccessibleAttribute attribute, java.lang.Object... parameters)
protected void executeAccessibleAction(AccessibleAction action, java.lang.Object... parameters)
private <any> createCell(VirtualFlow<<any>> flow)
private <any> getRoot()
private void setRoot(<any> newRoot)
protected int getItemCount()
getItemCount
in class VirtualContainerBase<<any>,<any>>
protected void updateItemCount()
VirtualContainerBase.getItemCount()
method.updateItemCount
in class VirtualContainerBase<<any>,<any>>
private <any> createDefaultCellImpl()
private void onFocusPreviousCell()
private void onFocusNextCell()
private void onSelectPreviousCell()
private void onSelectNextCell()
private void onMoveToFirstCell()
private void onMoveToLastCell()
private int onScrollPageDown(boolean isFocusDriven)
private int onScrollPageUp(boolean isFocusDriven)