|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<Object,Animator>
gov.nasa.worldwind.animation.AnimationController
public class AnimationController
The AnimationController class is a convenience class for managing a
group of Animators.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Constructor Summary | |
|---|---|
AnimationController()
|
|
| Method Summary | |
|---|---|
boolean |
hasActiveAnimation()
Returns true if the controller has any active Animations |
void |
startAnimation(Object animationName)
Starts the animation associated with animationName |
void |
startAnimations()
Starts all of the Animators in the map |
boolean |
stepAnimators()
Stops all Animators in the map. |
void |
stopAnimation(Object animationName)
Stops the Animator associated with animationName |
void |
stopAnimations()
Stops all of the Animators in the map |
| Methods inherited from class java.util.HashMap |
|---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public AnimationController()
| Method Detail |
|---|
public boolean hasActiveAnimation()
true if the controller has any active Animations
CompountAnimationpublic void startAnimation(Object animationName)
animationName
animationName - the name of the animation to be started.public void startAnimations()
Animators in the map
public boolean stepAnimators()
Animators in the map.
Animator was started, false otherwisepublic void stopAnimation(Object animationName)
Animator associated with animationName
animationName - the name of the animation to be stoppedpublic void stopAnimations()
Animators in the map
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||