Interface AnimationListener

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 TypeMethodDescription
    default voidfinished​(Animation animation)
    Called when the specified animation has finished playing.
    default voidplayed​(Animation animation)
    Called when the specified animation has started playing.
  • Method Details

    • played

      default void played​(Animation animation)
      Called when the specified animation has started playing.
      Parameters:
      animation - The animation that is now played.
    • finished

      default void finished​(Animation animation)
      Called when the specified animation has finished playing.
      Parameters:
      animation - The animation that has just finished playing.