|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MutableObjectTreeElement
ObjectTreeElement that can be modified. Child nodes may
be added to or deleted from this node.
| Method Summary | |
|---|---|
void |
addChild(MutableObjectTreeElement child)
Registers another node as a child node of this node. |
Collection<? extends MutableObjectTreeElement> |
getChildren()
Returns all children of this node. |
MutableObjectTreeElement |
getParent()
Returns the parent of this node. |
ObjectTreeElement |
getRoot()
Returns the root node of the tree this node belongs to. |
boolean |
removeChild(MutableObjectTreeElement child)
Removes the specified child from this node. |
| Methods inherited from interface com.marsching.flexiparse.objecttree.ObjectTreeElement |
|---|
addObject, getObjects, getObjectsOfType, getObjectsOfTypeFromSubTree, getObjectsOfTypeFromTopTree, removeObject |
| Method Detail |
|---|
void addChild(MutableObjectTreeElement child)
child - node to be attached as a child.boolean removeChild(MutableObjectTreeElement child)
child - node to remove
true if child was attached to this
node, false otherwiseMutableObjectTreeElement getParent()
getParent in interface ObjectTreeElementnull if this is
the root nodeObjectTreeElement getRoot()
getRoot in interface ObjectTreeElementCollection<? extends MutableObjectTreeElement> getChildren()
getChildren in interface ObjectTreeElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||