public class BackEaseOutMotion extends AbstractMotion
| Constructor and Description | 
|---|
BackEaseOutMotion(int start,
                 int stop,
                 long maxDuration)
Creates a ease out motion for a move from start to stop. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected int | 
computeCurrentValue(long currentTime)
Computes current value. 
 | 
protected boolean | 
isFinished(int value)
Checks whether the motion is finished or not, considering the given value. 
 | 
getCurrentValue, getDuration, getStartValue, getStopValue, getValue, isFinished, startpublic BackEaseOutMotion(int start,
                         int stop,
                         long maxDuration)
start - the start value.stop - the stop value.maxDuration - the maximum duration of the motion.protected int computeCurrentValue(long currentTime)
AbstractMotioncomputeCurrentValue in class AbstractMotioncurrentTime - the elapsed time since the beginning.protected boolean isFinished(int value)
AbstractMotionBy default, the motion is finished if the value reach (or exceed) the stop value.
isFinished in class AbstractMotionvalue - the value to check with.true if the motion is finished, false otherwise.