|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdiva.graph.layout.AbstractGlobalLayout
diva.graph.layout.RandomLayout
A static random layout engine. This class tries to be smart by not placing nodes on top of one another if possible, but doesn't guarantee anything about the layout except that it will fall into the required viewport.
| Red |
| Constructor Summary | |
RandomLayout(LayoutTarget target)
Simple constructor. |
|
| Method Summary | |
void |
layout(java.lang.Object composite)
Layout the graph model and viewport specified by the given target environment. |
| Methods inherited from class diva.graph.layout.AbstractGlobalLayout |
getLayoutTarget, setLayoutTarget |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RandomLayout(LayoutTarget target)
| Method Detail |
public void layout(java.lang.Object composite)
layout in interface GlobalLayoutlayout in class AbstractGlobalLayout
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||