|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.linkmap.layout.GraphLayoutManager
public abstract class GraphLayoutManager
GraphLayoutManager is the superclass of all classes that are capable of calculating a layout for a Graph. Doing this is as easy as invoking setGraph(graph) and doLayout() on the GraphLayoutManager.
| Constructor Summary | |
|---|---|
GraphLayoutManager()
Create a new GraphLayoutManager with initially no Graph. |
|
| Method Summary | |
|---|---|
abstract LayoutConverter |
createLayoutConverter()
Returns a LayoutConverter that allows the rendering mechanism to retrieve and adapt the layout of a graph, while abstracting from the specified GraphLayoutManager implementation that is used. |
abstract void |
doLayout()
Calculate a layout for the Graph registered in this GraphLayoutManager. |
Graph |
getGraph()
|
abstract void |
initialize(Graph graph)
Makes the Graph ready for layout calculation. |
void |
run()
Runnable implementation, invokes doLayout. |
void |
setGraph(Graph graph)
Set the Graph whose layout is calculated by this GraphLayoutManager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphLayoutManager()
| Method Detail |
|---|
public void setGraph(Graph graph)
public Graph getGraph()
public abstract void initialize(Graph graph)
public abstract void doLayout()
public void run()
run in interface Runnablepublic abstract LayoutConverter createLayoutConverter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||