|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The GUI terget independant tree view.
Method Summary | |
void |
addNode(AbstractNode parent,
AbstractNode child)
Add a child node to a node |
void |
nodeChanged(TreeNode node)
Upcalled when a substance changed for a given node. |
void |
nodesWereInserted(TreeNode node,
int[] indices)
Upcalled when nodes where inserted in this tree. |
void |
nodesWereRemoved(TreeNode node,
int[] indices,
Object[] removedNodes)
Upcalled when nodes where removed in this tree. |
void |
setRootNode(AbstractNode root)
Set the root node of the tree. |
void |
setSelection(TreePath selectionPath)
Sets the selected node for this tree. |
Method Detail |
public void setRootNode(AbstractNode root)
root
- the root nodepublic void addNode(AbstractNode parent, AbstractNode child)
parent
- the node to add the child node tochild
- the node to addpublic void nodeChanged(TreeNode node)
node
- the node that changedpublic void nodesWereRemoved(TreeNode node, int[] indices, Object[] removedNodes)
node
- the parent node from where the nodes were removedindices
- the indices of the removed nodesremovedNodes
- the removed nodespublic void nodesWereInserted(TreeNode node, int[] indices)
node
- the parent node from where the nodes were insertedindices
- the indices of the inserted nodespublic void setSelection(TreePath selectionPath)
selectionPath
- a tree path indicating the selected node
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |