|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpalmed.edit.scrollbar.RepeatableTimer
public final class RepeatableTimer
This class preventS a timer to be reinitialized when already running.
Constructor Summary | |
---|---|
RepeatableTimer()
Create a scrolling timer. |
Method Summary | |
---|---|
void |
start(java.util.TimerTask task)
Start the timer. |
void |
stop()
Stop the timer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepeatableTimer()
Method Detail |
---|
public void start(java.util.TimerTask task)
Calling this method again without calling stop has no effect.
task
- the task to executepublic void stop()
Calling this method twice has no effect.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |