samples.preview_new_graphdraw.iter
Class LayoutIterator
java.lang.Object
samples.preview_new_graphdraw.iter.LayoutIterator
- All Implemented Interfaces:
- Runnable
public class LayoutIterator
- extends Object
- implements Runnable
- Author:
- danyelf
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iterableLayout
protected IterableLayout iterableLayout
jgp
protected GraphLayoutPanel jgp
stop
protected boolean stop
runningThread
protected Thread runningThread
iterationDelay
protected long iterationDelay
LayoutIterator
public LayoutIterator(GraphLayoutPanel jgp,
IterableLayout la)
- Parameters:
jgp
- la
- g
-
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
-