public class FX extends Object
| Constructor and Description |
|---|
FX() |
| Modifier and Type | Method and Description |
|---|---|
static Command |
delay(Command command,
int delay)
Returns a command that, when executed itself, will execute the supplied command after the
specified millisecond delay.
|
static MoveAnimation |
move(AbsolutePanel parent,
Widget target)
Creates an animation that will move the specified child of the specified absolute panel.
|
static MoveAnimation |
move(PopupPanel target)
Creates an animation that will move the specified popup panel.
|
static WipeAnimation |
reveal(SimplePanel target)
Creates an animation that reveals the supplied target panel (wiping it from height zero to
full height).
|
static WipeAnimation |
unreveal(SimplePanel target)
Creates an animation that unreveals the supplied target panel (wiping it down to height
zero).
|
public static WipeAnimation reveal(SimplePanel target)
FX.reveal(target).fromTop().onComplete(action).run(250);public static WipeAnimation unreveal(SimplePanel target)
FX.unreveal(target).fromBottom().onComplete(action).run(250);public static MoveAnimation move(PopupPanel target)
FX.move(target).from(x, y).to(dx, dy).onComplete(action).run(500);public static MoveAnimation move(AbsolutePanel parent, Widget target)
FX.move(panel, target).from(x, y).to(dx, dy).onComplete(action).run(500);Copyright © 2013. All Rights Reserved.