rero.util
Class TimedEvent

java.lang.Object
  extended byrero.util.TimedEvent

public class TimedEvent
extends Object


Field Summary
protected  long lastTouched
           
protected  TimerListener listener
           
protected  int repeats
           
protected  long waitTime
           
 
Constructor Summary
TimedEvent(TimerListener _listener)
           
TimedEvent(TimerListener _listener, long _waitTime)
           
TimedEvent(TimerListener _listener, long _waitTime, int _repeats)
           
 
Method Summary
 void finish()
           
 TimerListener getListener()
           
 boolean isReady()
           
 boolean isValid()
           
 void timerExecute()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listener

protected TimerListener listener

lastTouched

protected long lastTouched

repeats

protected int repeats

waitTime

protected long waitTime
Constructor Detail

TimedEvent

public TimedEvent(TimerListener _listener)

TimedEvent

public TimedEvent(TimerListener _listener,
                  long _waitTime)

TimedEvent

public TimedEvent(TimerListener _listener,
                  long _waitTime,
                  int _repeats)
Method Detail

getListener

public TimerListener getListener()

finish

public void finish()

isValid

public boolean isValid()

isReady

public boolean isReady()

timerExecute

public void timerExecute()