|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.animation.BasicAnimator
gov.nasa.worldwind.animation.CompoundAnimator
public class CompoundAnimator
A group of two or more Animators. Can be used to animate more than one value at a time, driven by a
single Interpolator.
| Field Summary | |
|---|---|
protected Animator[] |
animators
|
| Fields inherited from class gov.nasa.worldwind.animation.BasicAnimator |
|---|
interpolator |
| Constructor Summary | |
|---|---|
CompoundAnimator(Interpolator interpolator)
Construct a CompoundAnimator with the given Interpolator |
|
CompoundAnimator(Interpolator interpolator,
Animator... animators)
Construct a CompoundAnimator with the given Interpolator, and the given Animators. |
|
| Method Summary | |
|---|---|
Iterable<Animator> |
getAnimators()
Get an Iterable list of the Animator |
void |
setAnimators(Animator... animators)
Set the Animators to be driven by this CompoundAnimator |
protected void |
setImpl(double interpolant)
Set the values attached to each of the Animators using the given interpolant. |
| Methods inherited from class gov.nasa.worldwind.animation.BasicAnimator |
|---|
flagLastStateInvalid, hasNext, isLastStateValid, isStopOnInvalidState, next, set, setStopOnInvalidState, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Animator[] animators
| Constructor Detail |
|---|
public CompoundAnimator(Interpolator interpolator)
Interpolator
interpolator - the Interpolator to use to drive the animation.
public CompoundAnimator(Interpolator interpolator,
Animator... animators)
Interpolator, and the given Animators.
interpolator - The Interpolator to use to drive the Animatorsanimators - The Animators that will be driven by this CompoundAnimator| Method Detail |
|---|
public final Iterable<Animator> getAnimators()
Iterable list of the Animator
Animatorspublic void setAnimators(Animator... animators)
Animators to be driven by this CompoundAnimator
animators - the Animators to be driven by this CompoundAnimatorprotected void setImpl(double interpolant)
Animators using the given interpolant.
setImpl in class BasicAnimatorinterpolant - A value between 0 and 1.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||