@DOMObjectAttribute @DOMNoInterfaceObjectAttribute public interface IWindowTimers
Allows authors to schedule timer-based callbacks.
| Modifier and Type | Method and Description |
|---|---|
void |
clearInterval(int handle)
Cancels the timeout set with setInterval() identified by handle
|
void |
clearTimeout(int handle)
Cancels the timeout set with setTimeout() identified by handle.
|
int |
setInterval(java.lang.Object handler)
Schedules a timeout to run handler every timeout milliseconds.
|
int |
setInterval(java.lang.Object handler,
int timeout,
java.lang.Object... args)
Schedules a timeout to run handler every timeout milliseconds.
|
int |
setInterval(java.lang.String code)
Schedules a timeout to compile and run code every timeout milliseconds.
|
int |
setInterval(java.lang.String code,
int timeout)
Schedules a timeout to compile and run code every timeout milliseconds.
|
int |
setTimeout(java.lang.Object handler)
Schedules a timeout to run handler after timeout milliseconds.
|
int |
setTimeout(java.lang.Object handler,
int timeout,
java.lang.Object... args)
Schedules a timeout to run handler after timeout milliseconds.
|
int |
setTimeout(java.lang.String code)
Schedules a timeout to compile and run code after timeout milliseconds.
|
int |
setTimeout(java.lang.String code,
int timeout)
Schedules a timeout to compile and run code after timeout milliseconds.
|
int setTimeout(java.lang.Object handler,
int timeout,
java.lang.Object... args)
Schedules a timeout to run handler after timeout milliseconds. Any arguments are passed straight through to the handler.
handler - The handler.timeout - The timeout.args - The arguments.int setTimeout(java.lang.Object handler)
Schedules a timeout to run handler after timeout milliseconds. Any arguments are passed straight through to the handler.
handler - The handler.int setTimeout(java.lang.String code,
int timeout)
Schedules a timeout to compile and run code after timeout milliseconds.
code - The js code.timeout - The timeout.int setTimeout(java.lang.String code)
Schedules a timeout to compile and run code after timeout milliseconds.
code - The js code.@DOMNameAttribute(name="clearTimeout") void clearTimeout(int handle)
Cancels the timeout set with setTimeout() identified by handle.
handle - The handle.int setInterval(java.lang.Object handler,
int timeout,
java.lang.Object... args)
Schedules a timeout to run handler every timeout milliseconds. Any arguments are passed straight through to the handler.
handler - The handler.timeout - The timeout.args - The arguments.int setInterval(java.lang.Object handler)
Schedules a timeout to run handler every timeout milliseconds. Any arguments are passed straight through to the handler.
handler - The handler.int setInterval(java.lang.String code,
int timeout)
Schedules a timeout to compile and run code every timeout milliseconds.
code - The js code.timeout - The timeout.int setInterval(java.lang.String code)
Schedules a timeout to compile and run code every timeout milliseconds.
code - Thejs code.@DOMNameAttribute(name="clearInterval") void clearInterval(int handle)
Cancels the timeout set with setInterval() identified by handle
handle - The handle.