- All Superinterfaces:
java.util.EventListener
public interface AnimationListener
extends java.util.EventListener
This listener provides call-backs for when an Animation
is played or the play back was finished.
-
Method Summary
Modifier and Type | Method | Description |
---|
default void | finished(Animation animation) | Called when the specified animation has finished playing. |
---|
default void | played(Animation animation) | Called when the specified animation has started playing. |
---|
-
Method Details
Called when the specified animation has started playing.
- Parameters:
animation
- The animation that is now played.
Called when the specified animation has finished playing.
- Parameters:
animation
- The animation that has just finished playing.