public class LayoutCommand extends java.lang.Object implements Scheduler.ScheduledCommand
 Note: This class assumes that Layer.getUserObject() will
 return the widget associated with a given layer.
 
| Constructor and Description | 
|---|
| LayoutCommand(Layout layout)Creates a new command for the given layout object. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
public LayoutCommand(Layout layout)
layout - public void cancel()
schedule(int, Layout.AnimationCallback) will re-enable it.public final void execute()
Scheduler.ScheduledCommandexecute in interface Scheduler.ScheduledCommandpublic void schedule(int duration,
                     Layout.AnimationCallback callback)
duration - callback - protected void doBeforeLayout()