|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Taskables are ActionListeners that respond to events from Timers.
If a Taskable has been added to a Timer's queue, it will receive
actionPerformed()
notifications each time the timer
expires.
Some OpenMap Layers are Taskables. These layers expect to refresh their graphics at a certain rate.
Timer
Method Summary | |
int |
getSleepHint()
Get the sleep hint in milliseconds. |
Methods inherited from interface java.awt.event.ActionListener |
actionPerformed |
Method Detail |
public int getSleepHint()
actionPerformed()
.
NOTE: this is only a hint for the timer. It's the Taskable's
responsibility to determine if too little or too much time has
elapsed between invocations of actionPerformed()
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |