com.jgoodies.animation
Class AnimationAdapter

java.lang.Object
  extended by com.jgoodies.animation.AnimationAdapter
All Implemented Interfaces:
AnimationListener, EventListener

public class AnimationAdapter
extends Object
implements AnimationListener

An adapter that implements the 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.

Version:
$Revision: 1.8 $
Author:
Karsten Lentzsch

Constructor Summary
AnimationAdapter()
           
 
Method Summary
 void animationStarted(AnimationEvent evt)
          Invoked if the animation has been started.
 void animationStopped(AnimationEvent evt)
          Invoked if the animation has been stopped.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnimationAdapter

public AnimationAdapter()
Method Detail

animationStarted

public void animationStarted(AnimationEvent evt)
Invoked if the animation has been started.

Specified by:
animationStarted in interface AnimationListener
Parameters:
evt - the related AnimationEvent

animationStopped

public void animationStopped(AnimationEvent evt)
Invoked if the animation has been stopped.

Specified by:
animationStopped in interface AnimationListener
Parameters:
evt - the related AnimationEvent


Copyright © 2001-2013 JGoodies Software GmbH. All Rights Reserved.