edu.uci.ics.jung.visualization.util
Class Animator
java.lang.Object
edu.uci.ics.jung.visualization.util.Animator
- All Implemented Interfaces:
- Runnable
public class Animator
- extends Object
- implements Runnable
- Author:
- Tom Nelson - tomnelson@dev.java.net
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
process
protected IterativeContext process
stop
protected boolean stop
thread
protected Thread thread
sleepTime
protected long sleepTime
- how long the relaxer thread pauses between iteration loops.
Animator
public Animator(IterativeContext process)
Animator
public Animator(IterativeContext process,
long sleepTime)
getSleepTime
public long getSleepTime()
- Returns:
- the relaxerThreadSleepTime
setSleepTime
public void setSleepTime(long sleepTime)
- Parameters:
relaxerThreadSleepTime
- the relaxerThreadSleepTime to set
start
public void start()
stop
public void stop()
run
public void run()
- Specified by:
run
in interface Runnable
Copyright © 2009. All Rights Reserved.