|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Define the requirements for a simulation node that may be grouping node for other simulation nodes.
| 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 descendant ChildNodes. |
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 interface org.jeospace.simulation.SimNode |
getID, getStructure |
| Method Detail |
public void addChild(ChildNode node)
SimNode to this node
node - the new descendant SimNodepublic void removeChild(ChildNode node)
SimNode from this node
node - the descendant SimNode to removepublic ChildNode getChild(java.lang.String id)
ChildNode.
id - the identifier of the descendant ChildNode to return.
ChildNodepublic java.util.List getChildren()
List of the descendant ChildNodes. If no
descendants are defined, null will be returned.
List of descendant ChildNodespublic boolean hasChildren()
true if this node has children, false if not.
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||