public class RotateToAngleAnimator extends AngleAnimator
begin, end, propertyAccessorinterpolator| Constructor and Description | 
|---|
| RotateToAngleAnimator(Angle begin,
                     Angle end,
                     double smoothing,
                     PropertyAccessor.AngleAccessor propertyAccessor) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | next()Calls the  setmethod with the nextinterpolantas determined
 by theinterpolatormember. | 
| Angle | nextAngle(double interpolant) | 
| protected void | setImpl(double interpolant)Set the value being animated via the  PropertyAccessorusing the passed interpolant. | 
getBegin, getEnd, getPropertyAccessor, setBegin, setEndflagLastStateInvalid, hasNext, isLastStateValid, isStopOnInvalidState, set, setStopOnInvalidState, start, stoppublic RotateToAngleAnimator(Angle begin, Angle end, double smoothing, PropertyAccessor.AngleAccessor propertyAccessor)
public void next()
BasicAnimatorset method with the next interpolant as determined
 by the interpolator member.next in interface Animatornext in class BasicAnimatorpublic Angle nextAngle(double interpolant)
protected void setImpl(double interpolant)
AngleAnimatorPropertyAccessor
 using the passed interpolant. This implementation just does a straight liner interpolation
 between the AngleAnimator.begin and AngleAnimator.end values.setImpl in class AngleAnimatorinterpolant - the interpolant used to generate the next value that will be set by the
 PropertyAccessor