|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.layout.AbstractLayoutStage | +--y.layout.BufferedLayouter
A hull layouter that invokes another layout algorithm on a copy of it's input graph.
After the layout process has finished the calculated layout will be either written back to the original graph or will be provided as a separate graph layout information in terms of the original ionput graph.
This class also provides the possibility to perform arbitrary layout algorithms merely on a graph interface plus associated graph layout. This comes in handy if an application hs it's own graph and merely provides an graph interface adapter to the yFiles graph layout machinery.
Field Summary |
Fields inherited from interface y.layout.Layouter |
EDGE_ID_DPKEY, NODE_ID_DPKEY, SELECTED_EDGES, SELECTED_NODES |
Constructor Summary | |
BufferedLayouter()
Instantiates a new BufferedLayouter. |
|
BufferedLayouter(Layouter coreLayouter)
Instantiates a new BufferedLayouter that wraps the given core layouter. |
Method Summary | |
GraphLayout |
calcLayout(GraphInterface graph,
GraphLayout layout)
Invokes the core Layouter on a copy of the given graph. |
GraphLayout |
calcLayout(LayoutGraph layoutGraph)
Invokes the core Layouter on a copy of the given graph. |
boolean |
canLayout(LayoutGraph graph)
Whether or not this layouter can layout the given graph. |
void |
doLayout(GraphInterface graph,
GraphLayout layout)
Invokes the core Layouter on a copy of the given graph. |
void |
doLayout(LayoutGraph layoutGraph)
Invokes the core Layouter on a copy of the given graph. |
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 BufferedLayouter()
public BufferedLayouter(Layouter coreLayouter)
Method Detail |
public GraphLayout calcLayout(LayoutGraph layoutGraph)
public GraphLayout calcLayout(GraphInterface graph, GraphLayout layout)
public void doLayout(LayoutGraph layoutGraph)
public void doLayout(GraphInterface graph, GraphLayout layout)
public boolean canLayout(LayoutGraph graph)
|
© 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 |