Class Animator


  • public abstract class Animator
    extends com.google.gwt.animation.client.Animation
    Adds additional features and functionality to the Animation class. The EasingFunction replaces the interpolation of the Animation's progress.
    • Constructor Detail

      • Animator

        public Animator()
    • Method Detail

      • run

        public void run​(int duration,
                        double startTime,
                        EasingFunction easing)
        Calls Animation.run(int, double) and sets the EasingFunction to be used in the animation.
        Parameters:
        duration - the duration of the animation
        startTime - the starting time for the animation
        easing - the EasingFunction that the animation will use
      • run

        public void run​(int duration,
                        EasingFunction easing)
        Calls Animation.run(int) and sets the EasingFunction to be used in the animation.
        Parameters:
        duration - the duration of the animation
        easing - the EasingFunction that the animation will use