org.grinvin.list.graphs
Class GraphGroup
java.lang.Object
org.grinvin.list.graphs.GraphGroup
- GraphNode
public class GraphGroup
extends java.lang.Object
GraphGroup(String name) - Creates a new instance of GraphGroup
|
GraphGroup
public GraphGroup(String name)
Creates a new instance of GraphGroup
addChild
public void addChild(GraphNode element)
getChildren
public List getChildren()
Return the list of children of this node. Returns null for a node
which is not supposed to have children. Returns an empty list for nodes
that can have children, but currently have none.
- getChildren in interface GraphNode
getName
public String getName()
Return a localized name for this node.
- getName in interface GraphNode