static class PopupPanel.ResizeAnimation extends Animation
Animation used to enlarge the popup into view.| Constructor and Description |
|---|
ResizeAnimation(PopupPanel panel)
Create a new
PopupPanel.ResizeAnimation. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public ResizeAnimation(PopupPanel panel)
PopupPanel.ResizeAnimation.panel - the panel to affectpublic void setState(boolean showing,
boolean isUnloading)
showing - true if the popup is showing, false if notprotected void onComplete()
AnimationonComplete in class Animationprotected void onStart()
Animationprotected void onUpdate(double progress)
AnimationAnimation.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().