Package com.jgoodies.animation
Interface AnimationListener
-
- All Superinterfaces:
java.util.EventListener
- All Known Implementing Classes:
AnimationAdapter
,AnimationUtils.StopListener
public interface AnimationListener extends java.util.EventListener
Defines an interface for objects that listen to animation events.- Version:
- $Revision: 1.8 $
- See Also:
AnimationEvent
,AnimationAdapter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
animationStarted(AnimationEvent evt)
Invoked if the observed animation has been started.void
animationStopped(AnimationEvent evt)
Invoked if the observed animation has been stopped.
-
-
-
Method Detail
-
animationStarted
void animationStarted(AnimationEvent evt)
Invoked if the observed animation has been started. The event contains the time when the start happened.- Parameters:
evt
- the relatedAnimationEvent
-
animationStopped
void animationStopped(AnimationEvent evt)
Invoked if the observed animation has been stopped. The event contains the time when the stop happended.- Parameters:
evt
- the relatedAnimationEvent
-
-