Package gov.nasa.worldwind.animation
Class AnimationController
- java.lang.Object
- 
- java.util.AbstractMap<K,V>
- 
- java.util.HashMap<java.lang.Object,Animator>
- 
- gov.nasa.worldwind.animation.AnimationController
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable,- java.util.Map<java.lang.Object,Animator>
 
 public class AnimationController extends java.util.HashMap<java.lang.Object,Animator> TheAnimationControllerclass is a convenience class for managing a group ofAnimators.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description AnimationController()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasActiveAnimation()Returnstrueif the controller has any activeAnimationsvoidstartAnimation(java.lang.Object animationName)Starts the animation associated withanimationNamevoidstartAnimations()Starts all of theAnimators in the mapbooleanstepAnimators()Stops allAnimators in the map.voidstopAnimation(java.lang.Object animationName)Stops theAnimatorassociated withanimationNamevoidstopAnimations()Stops all of theAnimators in the map
 
- 
- 
- 
Method Detail- 
startAnimationspublic void startAnimations() Starts all of theAnimators in the map
 - 
stopAnimationspublic void stopAnimations() Stops all of theAnimators in the map
 - 
startAnimationpublic void startAnimation(java.lang.Object animationName) Starts the animation associated withanimationName- Parameters:
- animationName- the name of the animation to be started.
 
 - 
stopAnimationpublic void stopAnimation(java.lang.Object animationName) Stops theAnimatorassociated withanimationName- Parameters:
- animationName- the name of the animation to be stopped
 
 - 
stepAnimatorspublic boolean stepAnimators() Stops allAnimators in the map.- Returns:
- true if any Animatorwas started, false otherwise
 
 - 
hasActiveAnimationpublic boolean hasActiveAnimation() Returnstrueif the controller has any activeAnimations- Returns:
- true if there are any active animations in this CompountAnimation
 
 
- 
 
-