|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.AbstractLayoutStage
y.layout.grouping.FixedGroupLayoutStage
public class FixedGroupLayoutStage
A layout stage for hierarchically grouped graphs. Activating this stage guarantees that a core layouter will keep the relative positions of nodes within the same group. Also, this stage is responsible for routing edges that connect nodes belonging to hierarchically unrelated groups.
| Field Summary | |
|---|---|
static byte |
ROUTING_STYLE_ADOPT
Inter-edge routing style specifier. |
static byte |
ROUTING_STYLE_ORTHOGONAL
Inter-edge routing style specifier. |
static byte |
ROUTING_STYLE_STRAIGHTLINE
Inter-edge routing style specifier. |
| Fields inherited from interface y.layout.Layouter |
|---|
EDGE_ID_DPKEY, NODE_ID_DPKEY, SELECTED_EDGES, SELECTED_NODES |
| Constructor Summary | |
|---|---|
FixedGroupLayoutStage()
Creates a new instance of FixedGroupLayoutStage |
|
| Method Summary | |
|---|---|
boolean |
canLayout(LayoutGraph graph)
Returns true iff the given graph can be laid
out by this algorithm. |
void |
doLayout(LayoutGraph graph)
Main layout routine that assigns new layout information to the given graph. |
byte |
getInterEdgeroutingStyle()
Returns the inter-edge routing style used by this layouter. |
Layouter |
getOrthogonalEdgeRouter()
Returns the orthogonal edge router instance used to route the inter-edges orthogonally. |
void |
setInterEdgeRoutingStyle(byte routingStyle)
Sets the inter-edge routing style used by this layouter. |
void |
setOrthogonalEdgeRouter(Layouter edgeRouter)
Sets the orthogonal edge router instance used to route the inter-edges orthogonally. |
| Methods inherited from class y.layout.AbstractLayoutStage |
|---|
canLayoutCore, doLayoutCore, getCoreLayouter, setCoreLayouter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte ROUTING_STYLE_ADOPT
public static final byte ROUTING_STYLE_ORTHOGONAL
getOrthogonalEdgeRouter(),
Constant Field Valuespublic static final byte ROUTING_STYLE_STRAIGHTLINE
| Constructor Detail |
|---|
public FixedGroupLayoutStage()
| Method Detail |
|---|
public void setInterEdgeRoutingStyle(byte routingStyle)
public byte getInterEdgeroutingStyle()
public void setOrthogonalEdgeRouter(Layouter edgeRouter)
public Layouter getOrthogonalEdgeRouter()
public boolean canLayout(LayoutGraph graph)
Layoutertrue iff the given graph can be laid
out by this algorithm. Calling doLayout with
the given graph as it's argument will only success if
this method returns true.
public void doLayout(LayoutGraph graph)
Layouter
|
© Copyright 2000-2008, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||