Class Animator
- java.lang.Object
-
- com.google.gwt.animation.client.Animation
-
- com.sencha.gxt.fx.client.animation.Animator
-
public abstract class Animator extends com.google.gwt.animation.client.AnimationAdds additional features and functionality to theAnimationclass. TheEasingFunctionreplaces the interpolation of theAnimation's progress.
-
-
Constructor Summary
Constructors Constructor Description Animator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EasingFunctiongetEasing()Returns theEasingFunctionused in this animation.voidrun(int duration, double startTime, EasingFunction easing)CallsAnimation.run(int, double)and sets theEasingFunctionto be used in the animation.voidrun(int duration, EasingFunction easing)CallsAnimation.run(int)and sets theEasingFunctionto be used in the animation.voidsetEasing(EasingFunction easing)Sets theEasingFunctionthat the animation will use.
-
-
-
Method Detail
-
getEasing
public EasingFunction getEasing()
Returns theEasingFunctionused in this animation.- Returns:
- the
EasingFunctionused in this animation
-
run
public void run(int duration, double startTime, EasingFunction easing)CallsAnimation.run(int, double)and sets theEasingFunctionto be used in the animation.- Parameters:
duration- the duration of the animationstartTime- the starting time for the animationeasing- theEasingFunctionthat the animation will use
-
run
public void run(int duration, EasingFunction easing)CallsAnimation.run(int)and sets theEasingFunctionto be used in the animation.- Parameters:
duration- the duration of the animationeasing- theEasingFunctionthat the animation will use
-
setEasing
public void setEasing(EasingFunction easing)
Sets theEasingFunctionthat the animation will use.- Parameters:
easing- theEasingFunctionthat the animation will use
-
-