edu.ksu.cis.macr.simulator.display
Class AutoRunner

java.lang.Object
  extended by java.lang.Thread
      extended by edu.ksu.cis.macr.simulator.display.AutoRunner
All Implemented Interfaces:
java.lang.Runnable

public class AutoRunner
extends java.lang.Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  SimDisplay parent
           
private  int waitTime
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AutoRunner(SimDisplay _parent, int _waitTime)
          Constructor for AutoRunner
 
Method Summary
 void run()
          Overloaded function from Thread
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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
 

Field Detail

parent

private SimDisplay parent

waitTime

private int waitTime
Constructor Detail

AutoRunner

public AutoRunner(SimDisplay _parent,
                  int _waitTime)
Constructor for AutoRunner

Parameters:
_parent - parent object
_waitTime - sleep time in milliseconds
Method Detail

run

public void run()
Overloaded function from Thread

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread