Interface AnimatorListener

  • All Superinterfaces:
    java.util.EventListener

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void animationEnds​(java.awt.Component component)
      Called when the animation sequence ends.
      void animationFrame​(java.awt.Component component, int totalStep, int step)
      Called when the animation sequence runs at certain step..
      void animationStarts​(java.awt.Component component)
      Called when the animation sequence starts.
    • Method Detail

      • animationStarts

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

        void animationFrame​(java.awt.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​(java.awt.Component component)
        Called when the animation sequence ends.
        Parameters:
        component - the component for this animation