public class StatechartLayoutAdapter extends java.lang.Object implements ModelForPGLayout<StatechartLayoutNode>
Constructor and Description |
---|
StatechartLayoutAdapter(IEPTree inputTree,
Statechart inputStatechart) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<ISCState,java.awt.geom.Rectangle2D.Double> |
filterLayout(ProcessGraphLayout<StatechartLayoutNode> processGraphLayout) |
java.lang.Iterable<StatechartLayoutNode> |
getChildren(StatechartLayoutNode node) |
java.lang.Iterable<StatechartLayoutNode> |
getChildrenReverse(StatechartLayoutNode node) |
StatechartLayoutNode |
getFirstChild(StatechartLayoutNode node) |
StatechartLayoutNode |
getRoot() |
boolean |
isLeaf(StatechartLayoutNode node) |
public StatechartLayoutAdapter(IEPTree inputTree, Statechart inputStatechart)
public StatechartLayoutNode getRoot()
getRoot
in interface ModelForPGLayout<StatechartLayoutNode>
public java.lang.Iterable<StatechartLayoutNode> getChildren(StatechartLayoutNode node)
getChildren
in interface ModelForPGLayout<StatechartLayoutNode>
public java.lang.Iterable<StatechartLayoutNode> getChildrenReverse(StatechartLayoutNode node)
getChildrenReverse
in interface ModelForPGLayout<StatechartLayoutNode>
public StatechartLayoutNode getFirstChild(StatechartLayoutNode node)
getFirstChild
in interface ModelForPGLayout<StatechartLayoutNode>
public boolean isLeaf(StatechartLayoutNode node)
isLeaf
in interface ModelForPGLayout<StatechartLayoutNode>
public java.util.Map<ISCState,java.awt.geom.Rectangle2D.Double> filterLayout(ProcessGraphLayout<StatechartLayoutNode> processGraphLayout)