|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.animation.client.Animation com.google.gwt.user.client.ui.PopupPanel.ResizeAnimation
static class PopupPanel.ResizeAnimation
An Animation
used to enlarge the popup into view.
Constructor Summary | |
---|---|
PopupPanel.ResizeAnimation(PopupPanel panel)
Create a new PopupPanel.ResizeAnimation . |
Method Summary | |
---|---|
protected void |
onComplete()
Called immediately after the animation completes. |
protected void |
onStart()
Called immediately before the animation starts. |
protected void |
onUpdate(double progress)
Called when the animation should be updated. |
void |
setState(boolean showing,
boolean isUnloading)
Open or close the content. |
Methods inherited from class com.google.gwt.animation.client.Animation |
---|
cancel, interpolate, isRunning, onCancel, run, run, run, run |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PopupPanel.ResizeAnimation(PopupPanel panel)
PopupPanel.ResizeAnimation
.
panel
- the panel to affectMethod Detail |
---|
public void setState(boolean showing, boolean isUnloading)
showing
- true if the popup is showing, false if notprotected void onComplete()
Animation
onComplete
in class Animation
protected void onStart()
Animation
onStart
in class Animation
protected void onUpdate(double progress)
Animation
Animation.interpolate(double)
method to provide a wider range
of values). There is no guarantee that Animation.onUpdate(double)
is called
with 0.0 or 1.0.
If you need to perform setup or tear down procedures, you can override
Animation.onStart()
and Animation.onComplete()
.
onUpdate
in class Animation
progress
- a double, normally between 0.0 and 1.0 (inclusive)
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |