|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FTree
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(Class clazz)
Get the FTreeNodeAdapter that describes the behavior for a given node's type on this tree. |
FTreeNodeAdapter[] |
adaptersForClass(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. |
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 |
---|
void treeChanged(org.freehep.jas.plugin.tree.FTreeNotification notification)
notification
- The FTreeNotification containing the information regarding
the FTree's change.FTreeNode findNode(FTreePath path)
path
- The FTreePath for which the node is being requested.
String name()
FTreeNode root()
FTreeNode[] selectedNodes()
FTreeNodeAdapter adapterForClass(Class clazz)
clazz
- The type of the nodes for which the adapter is requested.
FTreeNodeAdapter[] adaptersForClass(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 |