|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.simulation.RootNode
The root node container of the simulation hierarchy.
| Constructor Summary | |
RootNode(java.lang.String rootID)
Constructor |
|
| Method Summary | |
void |
addChild(ChildNode node)
Add a new descendant SimNode to this node |
ChildNode |
getChild(java.lang.String id)
Return the descendant ChildNode. |
java.util.List |
getChildren()
Return the List of the child SimNodes. |
java.lang.String |
getID()
Return the identifier of this node |
RootStructure |
getRootStructure()
Return the RootStructure for the simulation. |
Structure |
getStructure()
Return the Structure for this node. |
boolean |
hasChildren()
Return a flag indicating whether this node has children |
void |
removeChild(ChildNode node)
Remove an existing descendant SimNode from this node |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RootNode(java.lang.String rootID)
rootID - the identifier of this node| Method Detail |
public java.lang.String getID()
getID in interface SimNodepublic Structure getStructure()
Structure for this node.
getStructure in interface SimNodeStructure for this node.public void addChild(ChildNode node)
SimNode to this node
addChild in interface ParentNodenode - the new descendant SimNodepublic void removeChild(ChildNode node)
SimNode from this node
removeChild in interface ParentNodenode - the descendant SimNode to removepublic ChildNode getChild(java.lang.String id)
ChildNode.
getChild in interface ParentNodeid - the identifier of the descendant ChildNode to return.
ChildNodepublic java.util.List getChildren()
List of the child SimNodes. If no
children are defined, null will be returned.
getChildren in interface ParentNodeList of children SimNodespublic boolean hasChildren()
hasChildren in interface ParentNodetrue if this node has children, false if not.public RootStructure getRootStructure()
RootStructure for the simulation.
RootStructure for the simulation.
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||