public interface Taskable
extends java.awt.event.ActionListener
actionPerformed()
notifications each time the timer
expires.
Some OpenMap Layers are Taskables. These layers expect to refresh their graphics at a certain rate.
Timer
Modifier and Type | Method and Description |
---|---|
int |
getSleepHint()
Get the sleep hint in milliseconds.
|
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()
.
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details