|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The listener interface for receiving animation events. The class that is interested in the state of
an animation implements this interface. The object created with that class is then registered with
an animator using the animator's addAnimationListener
method. When the animation is
started, stopped, paused, or a new frame is shown, the relevant method in the listener object is
called, and the AnimationEvent
is passed to it.
Method Summary | |
void |
animationPaused(AnimationEvent evt)
Invoked when the animation is paused. |
void |
animationStarted(AnimationEvent evt)
Invoked when the animation is started. |
void |
animationStopped(AnimationEvent evt)
Invoked when the animation is stopped. |
void |
frameShown(AnimationEvent evt)
Invoked when a new frame is shown by the animation. |
Method Detail |
public void animationPaused(AnimationEvent evt)
evt
- the object representing the pause.public void animationStarted(AnimationEvent evt)
evt
- the object representing the start.public void animationStopped(AnimationEvent evt)
evt
- the object representing the stop.public void frameShown(AnimationEvent evt)
evt
- the object representing the new frame event.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |