|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttcl.lang.IdleHandler
public abstract class IdleHandler
This abstract class is used to define idle handlers.
| Constructor Summary | |
|---|---|
IdleHandler()
Create an idle handler. |
|
IdleHandler(Notifier n)
Create a idle handler to be fired when the notifier is idle. |
|
| Method Summary | |
|---|---|
void |
cancel()
Mark this idle handler as cancelled so that it won't be invoked. |
abstract void |
processIdleEvent()
This method is called when the idle is expired. |
void |
register(Notifier n)
Register Idle handler in the list of handlers for the given Notifier |
String |
toString()
This method prints a text description of the event for debugging. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IdleHandler()
public IdleHandler(Notifier n)
n - the notifier to fire the event| Method Detail |
|---|
public void register(Notifier n)
n - the notifier to fire the eventspublic void cancel()
public abstract void processIdleEvent()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||