public class MotionAnimation extends Object
|Constructor and Description|
Creates a motion animation.
|Modifier and Type||Method and Description|
Starts (or restarts) this motion animation.
Stops this motion animation.
public MotionAnimation(Animator animator, Motion motion, MotionAnimationListener listener)
animator- the animator instance with which the animation will be executed.
motion- the motion of the animation.
listener- the listener to notify during the animation.
public void start()
public void stop()
IllegalStateException- if this method is called in an other thread than the MicroUI thread or during an animation tick.