|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Animator
The 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.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 hasNext
void stop()
Animator. The implmenentation should return false from hasNext
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||