|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kiml.RecursiveLayouterEngine
public class RecursiveLayouterEngine
Performs layout in a graph with hierarchy by executing a layout provider on each level of the hierarchy. This is done recursively from the leafs to the root of the nodes in the graph, using size information from lower levels in the levels above.
Constructor Summary | |
---|---|
RecursiveLayouterEngine(IDebugCanvas thedebugCanvas)
Creates a recursive layouter engine with the given debug canvas. |
Method Summary | |
---|---|
AbstractLayoutProvider |
getLastLayoutProvider()
Returns the last layout provider that was used by the layouter engine. |
void |
layout(KNode layoutGraph,
IKielerProgressMonitor progressMonitor,
boolean layoutAncestors)
Performs recursive layout on the given layout graph. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecursiveLayouterEngine(IDebugCanvas thedebugCanvas)
thedebugCanvas
- the debug canvas to useMethod Detail |
---|
public void layout(KNode layoutGraph, IKielerProgressMonitor progressMonitor, boolean layoutAncestors) throws KielerException
layoutGraph
- instance of a layout graphprogressMonitor
- monitor to which progress of the layout algorithms is reportedlayoutAncestors
- if true, layout is not only performed for the selected
node, but also for its ancestors
KielerException
- if a layout algorithm failspublic AbstractLayoutProvider getLastLayoutProvider()
null
if there is none
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |