Interface AnimationListener
- All Superinterfaces:
- java.util.EventListener
- All Known Implementing Classes:
- BalanceBSTAnimation, BSTTree, BSTTreeHead, DeleteBSTAnimation, InsertRedBlackAnimation, PartitionBSTAnimation, RotationDoubleBSTAnimation
- public interface AnimationListener
- extends java.util.EventListener
The listener interface for receiving Animation events.
The class that is interested in processing an Animation event
implements this interface, and the object created with that
class is registered with an Animation Object, using the object's
addAnimationListener
method. When the action event
occurs, that object's animationEventPerformed
method is
invoked.
- See Also:
AnimationEvent
animationEventPerformed
public void animationEventPerformed(AnimationEvent e)
- Invoked when an animation action occurs.