|
||||||||||
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
public abstract class BaseCompoundNodeFactory
Constructor Summary | |
---|---|
BaseCompoundNodeFactory()
|
Method Summary | |
---|---|
BaseCompoundNode |
createNode()
|
abstract BaseCompoundGraph |
getGraph()
Get the graph to which this factory acts upon. |
abstract BaseCompoundNode |
getParentNode()
|
protected abstract BaseCompoundNode |
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 |
---|
public BaseCompoundNodeFactory()
Method Detail |
---|
public BaseCompoundNode createNode()
createNode
in interface IBasicNodeFactory<BaseCompoundNode,BaseCompoundEdge>
protected abstract BaseCompoundNode newNode(BaseCompoundNode parent, int nodeIndex)
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 abstract BaseCompoundGraph getGraph()
IBasicNodeFactory
getGraph
in interface IBasicNodeFactory<BaseCompoundNode,BaseCompoundEdge>
getGraph
in interface ICompoundNodeFactory<BaseCompoundNode,BaseCompoundEdge>
public abstract BaseCompoundNode getParentNode()
getParentNode
in interface ICompoundNodeFactory<BaseCompoundNode,BaseCompoundEdge>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |