|
||||||||||
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 algorithm 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. If an exception occurs, getLastLayoutProvider()
can be used to get more information about the algorithm that caused the
exception.
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)
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)
layoutGraph
- instance of a layout graphprogressMonitor
- monitor to which progress of the layout algorithms is reportedpublic AbstractLayoutProvider getLastLayoutProvider()
null
if there is none
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |