public class ElasticMotionManager extends Object implements MotionManager
| Constructor and Description | 
|---|
ElasticMotionManager()  | 
| Modifier and Type | Method and Description | 
|---|---|
Motion | 
easeIn(int start,
      int stop,
      long duration)
Moves from start to stop with a time constraint. 
 | 
Motion | 
easeInOut(int start,
         int stop,
         long duration)
Moves from start to stop with a time constraint. 
 | 
Motion | 
easeOut(int start,
       int stop,
       long duration)
Moves from start to stop with a time constraint. 
 | 
Motion | 
toss(int start,
    int min,
    int max,
    float initialSpeed,
    long duration)
Moves from start with an initial speed. 
 | 
public Motion easeIn(int start, int stop, long duration)
MotionManagereaseIn in interface MotionManagerstart - the start value.stop - the stop value.duration - the duration of the motion.public Motion easeInOut(int start, int stop, long duration)
MotionManagereaseInOut in interface MotionManagerstart - the start value.stop - the stop value.duration - the duration of the motion.public Motion easeOut(int start, int stop, long duration)
MotionManagereaseOut in interface MotionManagerstart - the start value.stop - the stop value.duration - the duration of the motion.public Motion toss(int start, int min, int max, float initialSpeed, long duration)
MotionManagertoss in interface MotionManagerstart - the start value.min - the minimum bound.max - the maximum bound.initialSpeed - the initial move speed (in pixels/second).duration - the duration of the motion.