|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.AbstractLayoutStage
y.layout.CompositeLayoutStage
public class CompositeLayoutStage
A composite layout stage that allows to express a layout stage as a chain of more basic layout stages.
| Field Summary |
|---|
| Fields inherited from interface y.layout.Layouter |
|---|
EDGE_ID_DPKEY, NODE_ID_DPKEY, SELECTED_EDGES, SELECTED_NODES |
| Constructor Summary | |
|---|---|
CompositeLayoutStage()
Creates a new instance of CompositeLayoutStage |
|
CompositeLayoutStage(LayoutStage outerStage,
LayoutStage innerStage)
Creates a new instance of CompositeLayoutStage |
|
| Method Summary | |
|---|---|
void |
appendStage(LayoutStage stage)
Appends a stage to the layout pipeline. |
boolean |
canLayout(LayoutGraph graph)
Returns true. |
void |
doLayout(LayoutGraph graph)
Assigns a new graph layout to the given layout graph. |
List |
getLayoutStages()
Returns the chain of layout stages that make up this composite layout stage. |
void |
prependStage(LayoutStage stage)
Prepends a stage to this composite layout stage. |
| 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 |
| Constructor Detail |
|---|
public CompositeLayoutStage()
public CompositeLayoutStage(LayoutStage outerStage,
LayoutStage innerStage)
| Method Detail |
|---|
public void prependStage(LayoutStage stage)
public List getLayoutStages()
public void appendStage(LayoutStage stage)
public boolean canLayout(LayoutGraph graph)
true.
public void doLayout(LayoutGraph graph)
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||