|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.CompositeLayouter
public class CompositeLayouter
A layouter 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 | |
|---|---|
CompositeLayouter(LayoutStage stage,
Layouter coreLayouter)
Creates a new instance of CompositeLayouter with the
specified LayoutStage prepended to the specified
Layouter. |
|
| Method Summary | |
|---|---|
void |
appendStage(LayoutStage stage)
Appends a stage to the layout pipeline. |
boolean |
canLayout(LayoutGraph graph)
Returns true if all layout stages and the core layout stage can layout the given graph. |
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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeLayouter(LayoutStage stage,
Layouter coreLayouter)
CompositeLayouter with the
specified LayoutStage prepended to the specified
Layouter.
stage - a LayoutStage that is prepended to the specified
core layouter.coreLayouter - a Layouter that is used as core (i.e.
innermost) layouter for this CompositeLayouter.| Method Detail |
|---|
public void prependStage(LayoutStage stage)
public List getLayoutStages()
public void appendStage(LayoutStage stage)
public boolean canLayout(LayoutGraph graph)
canLayout in interface Layouterpublic void doLayout(LayoutGraph graph)
doLayout in interface Layouter
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||