public class MoveAnimation extends AbstractAnimation
| Constructor and Description |
|---|
MoveAnimation(com.google.gwt.user.client.ui.Widget targetWidget,
String property,
int from,
int to)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doOnCancel()
Called when the animation is cancelled.
|
protected void |
doOnComplete()
Called when the animation completes.
|
int |
getFrom() |
String |
getProperty() |
int |
getTo() |
protected void |
onUpdate(double progress) |
void |
setFrom(int from) |
void |
setProperty(String property) |
void |
setTo(int to) |
getTargetWidget, isCancelled, isRunning, onCancel, onComplete, onStart, setCancelled, setRunning, setTargetWidgetpublic MoveAnimation(com.google.gwt.user.client.ui.Widget targetWidget,
String property,
int from,
int to)
targetWidget - protected void onUpdate(double progress)
onUpdate in class com.google.gwt.animation.client.AnimationAnimation.onUpdate(double)protected void doOnCancel()
AbstractAnimationdoOnCancel in class AbstractAnimationorg.overlord.sramp.ui.client.animation.AbstractAnimation#doOnCancel()protected void doOnComplete()
AbstractAnimationdoOnComplete in class AbstractAnimationorg.overlord.sramp.ui.client.animation.AbstractAnimation#doOnComplete()public String getProperty()
public void setProperty(String property)
property - the property to setpublic int getFrom()
public void setFrom(int from)
from - the from to setpublic int getTo()
public void setTo(int to)
to - the to to setCopyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.