com.jgoodies.animation
Class AnimationAdapter

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

public class AnimationAdapter
extends java.lang.Object
implements AnimationListener

An abstract 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.

Version:
$Revision: 1.1 $
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-2006 JGoodies Karsten Lentzsch. All Rights Reserved.