org.hisee.graphics
Class GaugeThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--org.hisee.graphics.GaugeThread
All Implemented Interfaces:
java.lang.Runnable

public class GaugeThread
extends java.lang.Thread

GaugeThread updates the Gauge Panel; Used for repeatedly iterating iterative projection algorithms. Invoked by the "play" button on the toolbar.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
GaugeThread(GaugePanel thePanel)
           
 
Method Summary
 boolean isRunning()
           
 void run()
           
 void setRunning(boolean b)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GaugeThread

public GaugeThread(GaugePanel thePanel)
Parameters:
thePanel - reference to the gauge panel
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

isRunning

public boolean isRunning()
Returns:
true if the thread is running, false otherwise

setRunning

public void setRunning(boolean b)
Parameters:
b - true to run the network thread, false to stop it


for more information see hisee.sourceforge.net