neosim.iface
Interface PopulationTree

All Known Implementing Classes:
PopulationTreeImpl

public interface PopulationTree
extends PopulationNode

A grouping node of the population tree - has a number of child population nodes


Method Summary
 void addNode(PopulationNode n)
          Add a population to this grouping node
 void deleteNode(java.lang.String name)
          Delete a population from this grouping node
 PopulationNode getChild(java.lang.String popName)
          Returns the child node given a name
 java.util.Vector getChildren()
          Return the child populations of this node
 EntityID getEntityID(java.lang.String entityName)
          Return the entity handle given the name
 
Methods inherited from interface neosim.iface.PopulationNode
getName, getParent, isLeaf
 

Method Detail

addNode

public void addNode(PopulationNode n)
Add a population to this grouping node
Parameters:
n - the node to add

deleteNode

public void deleteNode(java.lang.String name)
Delete a population from this grouping node
Parameters:
name - the name of the node to delete

getChildren

public java.util.Vector getChildren()
Return the child populations of this node

getEntityID

public EntityID getEntityID(java.lang.String entityName)
Return the entity handle given the name
Parameters:
entityName - the name of the entity to lookup

getChild

public PopulationNode getChild(java.lang.String popName)
Returns the child node given a name
Parameters:
popName - the name of the child
Returns:
the population node