public interface Animator
Animator interface provides a way to iterate through a series of values. It can be used with
a simple interpolation function, or something more elaborate. The PropertyAccessor class and its
interfaces can be used to agnostically attach to data members of any class.| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Returns
true if the Animator has more elements. |
void |
next()
Iterates to the next value.
|
void |
set(double interpolant)
Set the value of the attached property to the value associated with this interpolant value.
|
void |
start()
Starts the
Animator. |
void |
stop()
Stops the
Animator. |
boolean hasNext()
true if the Animator has more elements.true if the Animator has more elements.void next()
void set(double interpolant)
interpolant - A value between 0 and 1.void start()
Animator. The implemenation should return true from hasNextvoid stop()
Animator. The implmenentation should return false from hasNext