public class DoubleAnimator extends BasicAnimator
Animator
implentation for animating values of type Double.Modifier and Type | Field and Description |
---|---|
protected double |
begin |
protected double |
end |
protected PropertyAccessor.DoubleAccessor |
propertyAccessor |
interpolator
Constructor and Description |
---|
DoubleAnimator(Interpolator interpolator,
double begin,
double end,
PropertyAccessor.DoubleAccessor propertyAccessor) |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getBegin() |
java.lang.Double |
getEnd() |
PropertyAccessor.DoubleAccessor |
getPropertyAccessor() |
java.lang.Double |
nextDouble(double interpolant) |
void |
setBegin(java.lang.Double begin) |
void |
setEnd(java.lang.Double end) |
protected void |
setImpl(double interpolant)
No-op intended to be overrided by deriving classes.
|
flagLastStateInvalid, hasNext, isLastStateValid, isStopOnInvalidState, next, set, setStopOnInvalidState, start, stop
protected double begin
protected double end
protected final PropertyAccessor.DoubleAccessor propertyAccessor
public DoubleAnimator(Interpolator interpolator, double begin, double end, PropertyAccessor.DoubleAccessor propertyAccessor)
public final java.lang.Double getBegin()
public final java.lang.Double getEnd()
public final PropertyAccessor.DoubleAccessor getPropertyAccessor()
public java.lang.Double nextDouble(double interpolant)
public void setBegin(java.lang.Double begin)
public void setEnd(java.lang.Double end)
protected void setImpl(double interpolant)
BasicAnimator
setImpl
in class BasicAnimator
interpolant
- A value between 0 and 1.