edu.davidson.tools
Class STimer

java.lang.Object
  |
  +--edu.davidson.tools.STimer
All Implemented Interfaces:
java.lang.Runnable

public final class STimer
extends java.lang.Object
implements java.lang.Runnable


Constructor Summary
STimer()
           
 
Method Summary
 void doOneShot()
           
 void doOneShot(int i)
           
 TimerClient getClient()
           
 int getInterval()
           
 boolean isOneShot()
           
 boolean isRunning()
           
 void pause()
           
 void resume()
           
 void resume(int i)
           
 void run()
           
 void setClient(TimerClient c)
           
 void setInterval(int i)
           
 void setOneShot(boolean o)
           
 void setRunning(boolean r)
           
 void start()
           
 void start(int i)
           
 void stop()
           
 void stopThread()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

STimer

public STimer()
Method Detail

start

public void start(int i)

start

public void start()

stop

public void stop()

stopThread

public void stopThread()

resume

public void resume()

resume

public void resume(int i)

pause

public void pause()

run

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

doOneShot

public final void doOneShot()

doOneShot

public final void doOneShot(int i)

setOneShot

public final void setOneShot(boolean o)

isOneShot

public final boolean isOneShot()

setRunning

public final void setRunning(boolean r)

isRunning

public final boolean isRunning()

setInterval

public final void setInterval(int i)

getInterval

public final int getInterval()

setClient

public final void setClient(TimerClient c)

getClient

public final TimerClient getClient()

Copyright Wolfgang Christian

Visit the Davidson CollegeSTools Documentation Page