|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITreeNode
Interface that provides methods for managing a tree node.
Method Summary | |
---|---|
void |
addChild(ITreeNode child)
Adds a child to the tree model. |
java.util.Set<ITreeNode> |
getChildren(ITreeNode parentElement)
Returns the children of a parent element. |
ITreeNode |
getParent()
Returns the parent of the current element. |
boolean |
hasChildren()
Checks if the current element has children. |
void |
removeChild(ITreeNode child)
Removes a child from the model. |
Method Detail |
---|
java.util.Set<ITreeNode> getChildren(ITreeNode parentElement)
parentElement
- the parent element.
ITreeNode getParent()
boolean hasChildren()
void addChild(ITreeNode child)
child
- the child to add.void removeChild(ITreeNode child)
child
- the child to remove.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |