| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttcl.lang.TimerHandler
public abstract class TimerHandler
This abstract class is used to define timer handlers.
| Constructor Summary | |
|---|---|
TimerHandler(Notifier n,
             long milliseconds)
Create a timer handler to be fired after the given time lapse.  | 
|
| Method Summary | |
|---|---|
 void | 
cancel()
Mark this timer handler as cancelled so that it won't be invoked.  | 
abstract  void | 
processTimerEvent()
This method is called when the timer is expired.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public TimerHandler(Notifier n,
                    long milliseconds)
n - The notifier to fire the eventmilliseconds - number of milliseconds to wait before invoking processTimerEvent()| Method Detail | 
|---|
public void cancel()
public abstract void processTimerEvent()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||