Interface AnimatorListener

All Superinterfaces:
EventListener

public interface AnimatorListener extends EventListener
This is a listener that can be used to customize the behaviour of animation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the animation sequence ends.
    void
    animationFrame(Component component, int totalStep, int step)
    Called when the animation sequence runs at certain step..
    void
    Called when the animation sequence starts.
  • Method Details

    • animationStarts

      void animationStarts(Component component)
      Called when the animation sequence starts.
      Parameters:
      component - the component for this animation
    • animationFrame

      void animationFrame(Component component, int totalStep, int step)
      Called when the animation sequence runs at certain step..
      Parameters:
      component - the component for this animation
      totalStep - the total steps
      step - the current step
    • animationEnds

      void animationEnds(Component component)
      Called when the animation sequence ends.
      Parameters:
      component - the component for this animation