ch.aplu.util
Class TimerAdapter

java.lang.Object
  extended by ch.aplu.util.TimerAdapter
All Implemented Interfaces:
TimerListener, java.util.EventListener

public abstract class TimerAdapter
extends java.lang.Object
implements TimerListener

An abstract adapter class for receiving timer events. Extend this class to create a Timer listener and override the method timeElapsed().

Create a listener object by extending this class and register it with the HiResAlarmTimer/'s or LoResAlarmTimer's addTimerListener() method. When the time interval of the AlarmTimer expires the timeElapsed() method in the listener object is invoked.


Constructor Summary
TimerAdapter()
           
 
Method Summary
 boolean timeElapsed()
          Invoked when the time interval expires.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerAdapter

public TimerAdapter()
Method Detail

timeElapsed

public boolean timeElapsed()
Invoked when the time interval expires.

Specified by:
timeElapsed in interface TimerListener