|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsamples.preview_new_graphdraw.iter.IterableLayout
public abstract class IterableLayout
An IterableLayout
| Field Summary | |
|---|---|
protected EmittedLayout |
currentLayout
|
protected EmittedLayout |
returnableLayout
|
| Constructor Summary | |
|---|---|
IterableLayout()
|
|
| Method Summary | |
|---|---|
void |
advance()
Copies the current layout into the retunrable layout, then moves the visualization one step forward (by calling calculate). |
protected abstract void |
calculate()
Transforms currentLayout according to current layout algorithm. |
EmittedLayout |
emit()
Creates some sort of layout that has all the same vertex and edge locations. |
protected Dimension |
getScreenSize()
|
protected VisEdge |
getVisEdge(Edge e)
|
protected VisVertex |
getVisVertex(Vertex v)
|
void |
initializeLocationsFromLayout(EmittedLayout inputLayout)
Starts up this layout based on a previous layout. |
abstract boolean |
isFinite()
Says whether this algorthms' iterations will ever end. |
abstract boolean |
iterationsAreDone()
Gives the outlining algorithm a sense of how long to run. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EmittedLayout currentLayout
protected EmittedLayout returnableLayout
| Constructor Detail |
|---|
public IterableLayout()
| Method Detail |
|---|
public void advance()
public abstract boolean iterationsAreDone()
public abstract boolean isFinite()
protected abstract void calculate()
public EmittedLayout emit()
emit in interface LayoutEmitterpublic void initializeLocationsFromLayout(EmittedLayout inputLayout)
sla - protected VisVertex getVisVertex(Vertex v)
v - protected VisEdge getVisEdge(Edge e)
protected Dimension getScreenSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||