gov.nasa.worldwind.animation
Class DoubleAnimator
java.lang.Object
gov.nasa.worldwind.animation.BasicAnimator
gov.nasa.worldwind.animation.DoubleAnimator
- All Implemented Interfaces:
- Animator
- Direct Known Subclasses:
- MoveToDoubleAnimator, ViewElevationAnimator
public class DoubleAnimator
- extends BasicAnimator
An Animator implentation for animating values of type Double.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
begin
protected double begin
end
protected double end
propertyAccessor
protected final PropertyAccessor.DoubleAccessor propertyAccessor
DoubleAnimator
public DoubleAnimator(Interpolator interpolator,
double begin,
double end,
PropertyAccessor.DoubleAccessor propertyAccessor)
getBegin
public final Double getBegin()
getEnd
public final Double getEnd()
getPropertyAccessor
public final PropertyAccessor.DoubleAccessor getPropertyAccessor()
nextDouble
public Double nextDouble(double interpolant)
setBegin
public void setBegin(Double begin)
setEnd
public void setEnd(Double end)
setImpl
protected void setImpl(double interpolant)
- Description copied from class:
BasicAnimator
- No-op intended to be overrided by deriving classes. Deriving classes are expected to
implement the desired action of a set operation in this method.
- Overrides:
setImpl in class BasicAnimator
- Parameters:
interpolant - A value between 0 and 1.