public class CmsChangeHeightAnimation extends A_CmsAnimation
m_callback| 构造器和说明 |
|---|
CmsChangeHeightAnimation(com.google.gwt.dom.client.Element element,
int targetHeight,
com.google.gwt.user.client.Command callback)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static CmsChangeHeightAnimation |
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 CmsChangeHeightAnimation(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 CmsChangeHeightAnimation 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 在类中 A_CmsAnimationAnimation.onComplete()protected void onUpdate(double progress)
onUpdate 在类中 com.google.gwt.animation.client.AnimationAnimation.onUpdate(double)