public class AnimationAdapter extends Object implements AnimationListener
AnimationListener
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.
Constructor and Description |
---|
AnimationAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
animationStarted(AnimationEvent evt)
Invoked if the animation has been started.
|
void |
animationStopped(AnimationEvent evt)
Invoked if the animation has been stopped.
|
public void animationStarted(AnimationEvent evt)
animationStarted
in interface AnimationListener
evt
- the related AnimationEvent
public void animationStopped(AnimationEvent evt)
animationStopped
in interface AnimationListener
evt
- the related AnimationEvent
Copyright © 2001-2011 JGoodies Karsten Lentzsch. All Rights Reserved.