nl.coderight.jazz
Class Timer
java.lang.Object
nl.coderight.jazz.Timer
public final class Timer
- extends Object
Provides an implementation of a timer.
A timer fires one or more events after a specified delay.
- See Also:
View.setTimer(Timer timer)
,
Timer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Timer
public Timer(Event event)
start
public void start()
restart
public void restart()
stop
public void stop()
getDelay
public int getDelay()
getInitialDelay
public int getInitialDelay()
isCoalesce
public boolean isCoalesce()
isRepeats
public boolean isRepeats()
isRunning
public boolean isRunning()
setCoalesce
public void setCoalesce(boolean flag)
setDelay
public void setDelay(int delay)
setInitialDelay
public void setInitialDelay(int initialDelay)
setRepeats
public void setRepeats(boolean flag)
Copyright 2010 CodeRight, All rights reserved.