|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.user.client.ui.LayoutCommand
public class LayoutCommand
A scheduled command used by animated layouts to ensure that only layout is ever performed for a panel within a given user event.
Note: This class assumes that Layer.getUserObject() will
return the widget associated with a given layer.
| Constructor Summary | |
|---|---|
LayoutCommand(Layout layout)
Creates a new command for the given layout object. |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancels this command. |
protected void |
doBeforeLayout()
Called before the layout is executed. |
void |
execute()
Invokes the command. |
void |
schedule(int duration,
Layout.AnimationCallback callback)
Schedules a layout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LayoutCommand(Layout layout)
layout - | Method Detail |
|---|
public void cancel()
schedule(int, Layout.AnimationCallback) will re-enable it.
public final void execute()
Scheduler.ScheduledCommand
execute in interface Scheduler.ScheduledCommand
public void schedule(int duration,
Layout.AnimationCallback callback)
duration - callback - protected void doBeforeLayout()
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||