|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object zk.Object zk.Widget zul.utl.Timer
public class Timer
Fires one or more timer after a specified delay.
Timer
is a special component that is invisible.
Notice that the timer won't fire any event until it is attached to a page.
Field Summary |
---|
Fields inherited from class zk.Widget |
---|
$weave, auDelay, autag, bindLevel, className, desktop, effects_, firstChild, id, insertingBefore_, inServer, lastChild, nChildren, nextSibling, parent, previousSibling, uuid, widgetName |
Fields inherited from class zk.Object |
---|
$class, $oid |
Method Summary | |
---|---|
int |
getDelay()
Returns the delay, the number of milliseconds between successive action events. |
boolean |
isRepeats()
Returns whether the timer shall send Event repeatly. |
boolean |
isRunning()
Returns whether this timer is running. |
void |
play()
Starts the timer. |
void |
setDelay(int delay)
Sets the delay, the number of milliseconds between successive action events. |
void |
setRepeats(boolean repeats)
Sets whether the timer shall send Event repeatly. |
void |
setRunning(boolean running)
Start or stops the timer. |
void |
stop()
Stops the timer. |
Methods inherited from class zk.Object |
---|
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setRepeats(boolean repeats)
repeats
- public boolean isRepeats()
Default: false.
public void setDelay(int delay)
delay
- public int getDelay()
Default: 0 (immediately).
public void setRunning(boolean running)
running
- public boolean isRunning()
Default: true.
play()
,
stop()
public void play()
public void stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |