|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.layout.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 |
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)
Method Detail |
public void prependStage(LayoutStage stage)
public List getLayoutStages()
public void appendStage(LayoutStage stage)
public boolean canLayout(LayoutGraph graph)
canLayout
in interface Layouter
public void doLayout(LayoutGraph graph)
doLayout
in interface Layouter
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |