|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.DeferredCommand
public class DeferredCommand
This class allows you to execute code after all currently pending event
handlers have completed, using the add(Command)
method. This is
useful when you need to execute code outside of the context of the current
stack.
Constructor Summary | |
---|---|
DeferredCommand()
|
Method Summary | |
---|---|
static void |
add(Command cmd)
Enqueues a Command to be fired after all current events have been
handled. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeferredCommand()
Method Detail |
---|
public static void add(Command cmd)
Command
to be fired after all current events have been
handled.
cmd
- the command to be fired. If cmd is null, a "pause" will be
inserted into the queue. Any events added after the pause will
wait for an additional cycle through the system event loop before
executing. Pauses are cumulative.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |