com.google.gwt.user.client.ui.AnimatedLayout |
Known Indirect Subclasses |
Specifies that a panel can animate between layouts.
The normal use pattern is to set all childrens' positions, then to call
animate(int)
to move them to their new positions over some period
of time.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Layout children, animating over the specified period of time.
| |||||||||||
Layout children, animating over the specified period of time.
| |||||||||||
Layout children immediately.
|
Layout children, animating over the specified period of time.
duration | the animation duration, in milliseconds |
---|
Layout children, animating over the specified period of time.
This method provides a callback that will be informed of animation updates. This can be used to create more complex animation effects.
duration | the animation duration, in milliseconds |
---|---|
callback | the animation callback |
Layout children immediately.
This is not normally necessary, unless you want to update child widgets'
positions explicitly to create a starting point for a subsequent call to
animate(int)
.