|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ed.inf.graph.compound.base.BaseCompoundNode
uk.ed.inf.graph.compound.archetypal.ArchetypalCompoundNode
public abstract class ArchetypalCompoundNode
Constructor Summary | |
---|---|
protected |
ArchetypalCompoundNode(ArchetypalCompoundGraph superGraph,
int index)
|
protected |
ArchetypalCompoundNode(ArchetypalCompoundNode parent,
int index)
|
Method Summary | |
---|---|
protected abstract void |
createChildCompoundGraph(ArchetypalCompoundNode rootNode)
|
abstract ArchetypalChildCompoundGraph |
getChildCompoundGraph()
Get subgraph of this compound node. |
ArchetypalCompoundGraph |
getGraph()
Get the graph that owns this node. |
int |
getIndex()
Get the index of this node. |
ArchetypalCompoundNode |
getParent()
The parent node cannot be null and should be the root node if the current node is the root node. |
Methods inherited from class uk.ed.inf.graph.compound.base.BaseCompoundNode |
---|
ancestorIterator, childIterator, compareTo, connectedNodeIterator, createInEdgeSet, createOutEdgeSet, edgeIterator, getDegree, getEdgeInList, getEdgeOutList, getEdgesWith, getInDegree, getInEdgeIterator, getInEdgesFrom, getInNodeIterator, getOutDegree, getOutEdgeIterator, getOutEdgesTo, getOutNodeIterator, getRoot, hasEdgeWith, hasInEdgeFrom, hasOutEdgeTo, isAncestor, isChild, isDescendent, isParent, isRemoved, levelOrderIterator, markRemoved, removalAction, setRemoved |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface uk.ed.inf.graph.basic.IBasicNode |
---|
equals, hashCode |
Constructor Detail |
---|
protected ArchetypalCompoundNode(ArchetypalCompoundGraph superGraph, int index)
protected ArchetypalCompoundNode(ArchetypalCompoundNode parent, int index)
Method Detail |
---|
public ArchetypalCompoundNode getParent()
BaseCompoundNode
getParent
in interface ITreeNode<BaseCompoundNode>
getParent
in class BaseCompoundNode
protected abstract void createChildCompoundGraph(ArchetypalCompoundNode rootNode)
public abstract ArchetypalChildCompoundGraph getChildCompoundGraph()
ICompoundNode
getChildCompoundGraph
in interface ICompoundNode<BaseCompoundNode,BaseCompoundEdge>
getChildCompoundGraph
in class BaseCompoundNode
public ArchetypalCompoundGraph getGraph()
IBasicNode
getGraph
in interface IBasicNode<BaseCompoundNode,BaseCompoundEdge>
getGraph
in class BaseCompoundNode
public int getIndex()
IBasicNode
getIndex
in interface IBasicNode<BaseCompoundNode,BaseCompoundEdge>
getIndex
in interface ITreeNode<BaseCompoundNode>
getIndex
in class BaseCompoundNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |