Package ej.widget.motion
Class MotionAnimation
- java.lang.Object
-
- ej.widget.motion.MotionAnimation
-
public class MotionAnimation extends java.lang.ObjectA motion animation allows to associate aMotionand anAnimation.
-
-
Constructor Summary
Constructors Constructor Description MotionAnimation(ej.mwt.animation.Animator animator, ej.motion.Motion motion, MotionAnimationListener listener)Creates a motion animation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart()Starts (or restarts) this motion animation.voidstop()Stops this motion animation.
-
-
-
Constructor Detail
-
MotionAnimation
public MotionAnimation(ej.mwt.animation.Animator animator, ej.motion.Motion motion, MotionAnimationListener listener)Creates a motion animation.- Parameters:
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.
-
-