public class PositionAnimator extends BasicAnimator
Modifier and Type | Field and Description |
---|---|
protected Position |
begin |
protected Position |
end |
protected PropertyAccessor.PositionAccessor |
propertyAccessor |
interpolator
Constructor and Description |
---|
PositionAnimator(Interpolator interpolator,
Position begin,
Position end,
PropertyAccessor.PositionAccessor propertyAccessor) |
Modifier and Type | Method and Description |
---|---|
Position |
getBegin() |
Position |
getEnd() |
PropertyAccessor.PositionAccessor |
getPropertyAccessor() |
protected Position |
nextPosition(double interpolant) |
void |
setBegin(Position begin) |
void |
setEnd(Position 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 Position begin
protected Position end
protected final PropertyAccessor.PositionAccessor propertyAccessor
public PositionAnimator(Interpolator interpolator, Position begin, Position end, PropertyAccessor.PositionAccessor propertyAccessor)
public Position getBegin()
public Position getEnd()
public PropertyAccessor.PositionAccessor getPropertyAccessor()
protected Position nextPosition(double interpolant)
public void setBegin(Position begin)
public void setEnd(Position end)
protected void setImpl(double interpolant)
BasicAnimator
setImpl
in class BasicAnimator
interpolant
- A value between 0 and 1.