Interface AnimationListener

All Superinterfaces:
EventListener

public interface AnimationListener extends 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

    • 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.