static class PopupPanel.ResizeAnimation extends Animation
Animation used to enlarge the popup into view.| Constructor and Description |
|---|
PopupPanel.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 PopupPanel.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). You can override Animation.onStart() and Animation.onComplete()
to perform setup and tear down procedures.