edu.princeton.cs.algs4.growingtree.framework
Interface AnimationListener
- All Superinterfaces:
- java.util.EventListener
- All Known Implementing Classes:
- BalanceBSTAnimation, DeleteBSTAnimation, GrowingTreeHead, GrowingTreeNode, MovingBSTTree, 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.
- Version:
- 1.3 9/15/01
- Author:
- Corey Sanders
- See Also:
AnimationEvent
animationEventPerformed
void animationEventPerformed(AnimationEvent e)
- Invoked when an animation action occurs.