Package | Description |
---|---|
xdev.ui | |
xdev.ui.tree | |
xdev.vt |
Modifier and Type | Method and Description |
---|---|
XdevTreeNode |
XdevTree.getNodeAt(int x,
int y)
Returns the
XdevTreeNode at the specified location. |
XdevTreeNode |
XdevTree.getRoot()
Returns the root of the tree.
|
XdevTreeNode |
XdevTree.getSelectedNode()
Returns the first selected
XdevTreeNode . |
Modifier and Type | Method and Description |
---|---|
void |
XdevTree.collapseNode(XdevTreeNode node)
Ensures that the
node is collapsed and viewable. |
void |
XdevTree.expandNode(XdevTreeNode node)
Ensures that the
node is expanded and viewable. |
void |
XdevTree.setSelectedNode(XdevTreeNode node)
Selects the node identified by the given
node . |
Constructor and Description |
---|
XdevTree(XdevTreeNode root)
|
Modifier and Type | Method and Description |
---|---|
XdevTreeNode |
XdevTreeNode.add(XdevTreeNode... nodes)
Removes
nodes from their parent and makes them a child of
this node by adding it to the end of this node's child array. |
XdevTreeNode |
XdevTreeNode.clone()
Returns a field-for-field copy of this instance.
|
XdevTreeNode |
XdevTreeNode.cloneTree()
Clones a
XdevTreeNode and all its children (deep clone). |
XdevTreeNode |
XdevTreeNode.getXdevParent()
Returns this node's parent or null if this node has no parent.
|
XdevTreeNode |
XdevTreeNode.removeNode(XdevTreeNode node)
Removes
node from this node's child array, giving it a null
parent. |
XdevTreeNode |
XdevTreeNode.removeNodeAt(int index)
Removes the node at the specified index from this node's children and
sets that node's parent to null.
|
XdevTreeNode |
XdevTreeNode.searchNode(Object userObject,
String caption)
Searches the tree below (including) this
XdevTreeNode for the
first node matching the given userObject
and/or the given caption . |
Modifier and Type | Method and Description |
---|---|
XdevTreeNode |
XdevTreeNode.add(XdevTreeNode... nodes)
Removes
nodes from their parent and makes them a child of
this node by adding it to the end of this node's child array. |
String |
XdevTreeManager.getCaption(XdevTreeNode node) |
String |
DefaultXdevTreeManager.getCaption(XdevTreeNode node) |
Icon |
XdevTreeManager.getIcon(XdevTreeNode node) |
Icon |
DefaultXdevTreeManager.getIcon(XdevTreeNode node) |
XdevTreeNode |
XdevTreeNode.removeNode(XdevTreeNode node)
Removes
node from this node's child array, giving it a null
parent. |
Constructor and Description |
---|
XdevTreeModel(XdevTreeNode root) |
Modifier and Type | Method and Description |
---|---|
XdevTreeNode |
VirtualTable.createTree(String rootsColumnName,
Object rootsID,
String idColumnName,
String ownerColumnName,
String captionColumnName,
String dataColumnName)
Creates a tree structure containing data of this VirtualTable by creating
XdevTreeNode s out of VirtualTable.VirtualTableRow s. |
XdevTreeNode |
VirtualTable.createTree(String rootsColumnName,
Object rootsID,
String idColumnName,
String ownerColumnName,
String captionColumnName,
String dataColumnName,
boolean multipleRoots)
Creates a tree structure containing data of this VirtualTable by creating
XdevTreeNode s out of VirtualTable.VirtualTableRow s. |
Copyright © 2003–2021 XDEV Software. All rights reserved.