|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Via the FTree interface it is possible to:
- modify the existing tree structure
- access and modify the tree selection through the FTreeSelectionManager
- access existing FTreeNodes
Method Summary | |
FTreeNodeAdapter |
adapterForClass(java.lang.Class clazz)
Get the FTreeNodeAdapter that describes the behavior for a given node's type on this tree. |
FTreeNodeAdapter[] |
adaptersForClass(java.lang.Class clazz)
Get all the FTreeNodeAdapters registered with this tree for the given class. |
FTreeNode |
findNode(FTreePath path)
Get the FTreeNode corresponding to a given FTreePath. |
java.lang.String |
name()
Get the FTree's name. |
FTreeNode |
root()
Get the root node for this tree. |
FTreeNode[] |
selectedNodes()
Get the ordered array of the selected nodes for the FTree The nodes are in the order in which they were selected. |
void |
treeChanged(org.freehep.jas.plugin.tree.FTreeNotification notification)
Notify the FTree that something has changed. |
Method Detail |
public void treeChanged(org.freehep.jas.plugin.tree.FTreeNotification notification)
notification
- The FTreeNotification containing the information regarding
the FTree's change.public FTreeNode findNode(FTreePath path)
path
- The FTreePath for which the node is being requested.
public java.lang.String name()
public FTreeNode root()
public FTreeNode[] selectedNodes()
public FTreeNodeAdapter adapterForClass(java.lang.Class clazz)
clazz
- The type of the nodes for which the adapter is requested.
public FTreeNodeAdapter[] adaptersForClass(java.lang.Class clazz)
clazz
- The type of the nodes for which the adapter is requested.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |