public interface FTree
FTreeSelectionManager
- access existing FTreeNodes
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2018. All rights reserved.