com.sencha.gxt.fx.client.animation
Class Animator

java.lang.Object
  extended by com.google.gwt.animation.client.Animation
      extended by com.sencha.gxt.fx.client.animation.Animator

public abstract class Animator
extends Animation

Adds additional features and functionality to the Animation class. The EasingFunction replaces the interpolation of the Animation's progress.


Constructor Summary
Animator()
           
 
Method Summary
 EasingFunction getEasing()
          Returns the EasingFunction used in this animation.
 void run(int duration, double startTime, EasingFunction easing)
          Calls Animation.run(int, double) and sets the EasingFunction to be used in the animation.
 void run(int duration, EasingFunction easing)
          Calls Animation.run(int) and sets the EasingFunction to be used in the animation.
 void setEasing(EasingFunction easing)
          Sets the EasingFunction that the animation will use.
 
Methods inherited from class com.google.gwt.animation.client.Animation
cancel, run, run, run, run
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Animator

public Animator()
Method Detail

getEasing

public EasingFunction getEasing()
Returns the EasingFunction used in this animation.

Returns:
the EasingFunction used in this animation

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.


run

public void run(int duration,
                EasingFunction easing)
Calls Animation.run(int) and sets the EasingFunction to be used in the animation.


setEasing

public void setEasing(EasingFunction easing)
Sets the EasingFunction that the animation will use.

Parameters:
easing - the EasingFunction that the animation will use


Copyright © 2012. All Rights Reserved.