|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.aplu.util.TimerAdapter
public abstract class TimerAdapter
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 |
---|
public TimerAdapter()
Method Detail |
---|
public boolean timeElapsed()
timeElapsed
in interface TimerListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |