public class AnimationStarted extends Event
 A transition triggered by an animation that has just started. For
 example, one can want to stop an animation animBefore when
 an animation animAfter starts.
 
 
        Transition tshape = new AnimationStarted(animAfter) {
                public void action() {
                        // stops
 
 animBefore
 
  animation.
                        animBefore.stop();
                }
        }
        
 
 
 | Constructor and Description | 
|---|
| AnimationStarted()Builds a transition that loops on the current state triggered when
 any animation has just started. | 
| AnimationStarted(Animation anim)Builds a transition that loops on the current state triggered when an
 animation has just started. | 
| AnimationStarted(Animation anim,
                java.lang.String outState)Builds a transition triggered when an animation has just started. | 
| AnimationStarted(ATag tagAnim)Builds a transition that loops on the current state triggered when a
 tagged animation has just started. | 
| AnimationStarted(ATag tagAnim,
                java.lang.String outState)Builds a transition triggered when a tagged animation has just
 started. | 
| AnimationStarted(java.lang.String outState)Builds a transition triggered when any animation has just started. | 
| Modifier and Type | Method and Description | 
|---|---|
| Animation | getAnimation() | 
| VirtualAnimationEvent | getAnimationEvent() | 
| boolean | matches(java.util.EventObject eventObject)Tests if an event can trigger that transition. | 
| java.lang.String | toString() | 
getClassEventaction, getEvent, getInputState, getOutputState, guard, manageEventID, oldToString, pickingRequired, setTriggeringEventpublic AnimationStarted()
public AnimationStarted(Animation anim)
anim - The animation that fires this transition.public AnimationStarted(ATag tagAnim)
tagAnim - The tag of the animation that fires this transition.public AnimationStarted(java.lang.String outState)
outState - The name of the output state.public AnimationStarted(Animation anim, java.lang.String outState)
anim - The animation that fires this transition.outState - The name of the output state.public AnimationStarted(ATag tagAnim, java.lang.String outState)
tagAnim - The tag of the animation that fires this transition.outState - The name of the output state.public Animation getAnimation()
public VirtualAnimationEvent getAnimationEvent()