com.alkacon.geranium.client.util
public class ChangeHeightAnimation extends A_Animation
m_callback| Constructor and Description |
|---|
ChangeHeightAnimation(com.google.gwt.dom.client.Element element,
int targetHeight,
com.google.gwt.user.client.Command callback)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ChangeHeightAnimation |
change(com.google.gwt.dom.client.Element element,
int targetHeight,
com.google.gwt.user.client.Command callback,
int duration)
Slides the given element into view executing the callback afterwards.
|
protected void |
onComplete() |
protected void |
onUpdate(double progress) |
public ChangeHeightAnimation(com.google.gwt.dom.client.Element element,
int targetHeight,
com.google.gwt.user.client.Command callback)
element - the element to animatetargetHeight - the height when the animation should stopcallback - the callback executed after the animation is completedpublic static ChangeHeightAnimation change(com.google.gwt.dom.client.Element element, int targetHeight, com.google.gwt.user.client.Command callback, int duration)
element - the element to slide intargetHeight - the height when the animation should stopcallback - the callback executed after the animation is completedduration - the animation durationprotected void onComplete()
onComplete in class A_AnimationAnimation.onComplete()protected void onUpdate(double progress)
onUpdate in class com.google.gwt.animation.client.AnimationAnimation.onUpdate(double)