public class Animator
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
protected edu.uci.ics.jung.algorithms.util.IterativeContext |
process |
protected long |
sleepTime
how long the relaxer thread pauses between iteration loops.
|
protected boolean |
stop |
protected java.lang.Thread |
thread |
Constructor and Description |
---|
Animator(edu.uci.ics.jung.algorithms.util.IterativeContext process) |
Animator(edu.uci.ics.jung.algorithms.util.IterativeContext process,
long sleepTime) |
Modifier and Type | Method and Description |
---|---|
long |
getSleepTime() |
void |
run() |
void |
setSleepTime(long sleepTime) |
void |
start() |
void |
stop() |
protected edu.uci.ics.jung.algorithms.util.IterativeContext process
protected boolean stop
protected java.lang.Thread thread
protected long sleepTime
public Animator(edu.uci.ics.jung.algorithms.util.IterativeContext process)
public Animator(edu.uci.ics.jung.algorithms.util.IterativeContext process, long sleepTime)
public long getSleepTime()
public void setSleepTime(long sleepTime)
relaxerThreadSleepTime
- the relaxerThreadSleepTime to setpublic void start()
public void stop()
public void run()
run
in interface java.lang.Runnable