samples.preview_new_graphdraw.iter
Class LayoutIterator

java.lang.Object
  extended by samples.preview_new_graphdraw.iter.LayoutIterator
All Implemented Interfaces:
Runnable

public class LayoutIterator
extends Object
implements Runnable

Author:
danyelf

Field Summary
protected  IterableLayout iterableLayout
           
protected  long iterationDelay
           
protected  GraphLayoutPanel jgp
           
protected  Thread runningThread
           
protected  boolean stop
           
 
Constructor Summary
LayoutIterator(GraphLayoutPanel jgp, IterableLayout la)
           
 
Method Summary
 void run()
           
 void setIterationDelay(long i)
           
 void startIterations()
           
 void stopIterations()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iterableLayout

protected IterableLayout iterableLayout

jgp

protected GraphLayoutPanel jgp

stop

protected boolean stop

runningThread

protected Thread runningThread

iterationDelay

protected long iterationDelay
Constructor Detail

LayoutIterator

public LayoutIterator(GraphLayoutPanel jgp,
                      IterableLayout la)
Parameters:
jgp -
la -
g -
Method Detail

startIterations

public void startIterations()

stopIterations

public void stopIterations()

run

public void run()
Specified by:
run in interface Runnable

setIterationDelay

public void setIterationDelay(long i)
Parameters:
i -