|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ed.inf.graph.compound.base.BaseCompoundNodeFactory
uk.ed.inf.graph.compound.impl.CompoundNodeFactory
public class CompoundNodeFactory
Constructor Summary | |
---|---|
CompoundNodeFactory(CompoundNode parent)
|
Method Summary | |
---|---|
CompoundNode |
createNode()
|
CompoundGraph |
getGraph()
Get the graph to which this factory acts upon. |
BaseCompoundNode |
getParentNode()
|
CompoundNode |
newNode(BaseCompoundNode parent,
int nodeIndex)
Creates the new node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
CompoundNodeFactory(CompoundNode parent)
Method Detail |
---|
public CompoundNode newNode(BaseCompoundNode parent, int nodeIndex)
BaseCompoundNodeFactory
newNode
in class BaseCompoundNodeFactory
parent
- the parent node the child graph of which this node will be added.nodeIndex
- the new index to use when creating the node.
public CompoundNode createNode()
createNode
in interface IBasicNodeFactory<BaseCompoundNode,BaseCompoundEdge>
createNode
in class BaseCompoundNodeFactory
public CompoundGraph getGraph()
IBasicNodeFactory
getGraph
in interface IBasicNodeFactory<BaseCompoundNode,BaseCompoundEdge>
getGraph
in interface ICompoundNodeFactory<BaseCompoundNode,BaseCompoundEdge>
getGraph
in class BaseCompoundNodeFactory
public BaseCompoundNode getParentNode()
getParentNode
in interface ICompoundNodeFactory<BaseCompoundNode,BaseCompoundEdge>
getParentNode
in class BaseCompoundNodeFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |