public interface TreeModel
Modifier and Type | Method and Description |
---|---|
Vector |
getChildren(Object parent)
Returns the child objects representing the given parent, null should return
the root objects
|
boolean |
isLeaf(Object node)
Is the node a leaf or a folder
|
Vector getChildren(Object parent)
parent
- the parent object whose children should be returned, null would return the
tree rootsboolean isLeaf(Object node)
node
- a node within the tree