Package com.jgoodies.animation
Class AnimationAdapter
- java.lang.Object
-
- com.jgoodies.animation.AnimationAdapter
-
- All Implemented Interfaces:
AnimationListener
,java.util.EventListener
- Direct Known Subclasses:
AnimationUtils.StopListener
public class AnimationAdapter extends java.lang.Object implements AnimationListener
An adapter that implements theAnimationListener
interface. Consists only of methods with empty bodies that do nothing. This class minimizes the effort required to write animation listeners.If you want to listen to animation events, you either subclass this class, or implement the AnimationListener interface.
- Version:
- $Revision: 1.8 $
-
-
Constructor Summary
Constructors Constructor Description AnimationAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
animationStarted(AnimationEvent evt)
Invoked if the animation has been started.void
animationStopped(AnimationEvent evt)
Invoked if the animation has been stopped.
-
-
-
Method Detail
-
animationStarted
public void animationStarted(AnimationEvent evt)
Invoked if the animation has been started.- Specified by:
animationStarted
in interfaceAnimationListener
- Parameters:
evt
- the relatedAnimationEvent
-
animationStopped
public void animationStopped(AnimationEvent evt)
Invoked if the animation has been stopped.- Specified by:
animationStopped
in interfaceAnimationListener
- Parameters:
evt
- the relatedAnimationEvent
-
-