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.Animation
Adds additional features and functionality to theAnimation
class. TheEasingFunction
replaces 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 EasingFunction
getEasing()
Returns theEasingFunction
used in this animation.void
run(int duration, double startTime, EasingFunction easing)
CallsAnimation.run(int, double)
and sets theEasingFunction
to be used in the animation.void
run(int duration, EasingFunction easing)
CallsAnimation.run(int)
and sets theEasingFunction
to be used in the animation.void
setEasing(EasingFunction easing)
Sets theEasingFunction
that the animation will use.
-
-
-
Method Detail
-
getEasing
public EasingFunction getEasing()
Returns theEasingFunction
used in this animation.- Returns:
- the
EasingFunction
used in this animation
-
run
public void run(int duration, double startTime, EasingFunction easing)
CallsAnimation.run(int, double)
and sets theEasingFunction
to be used in the animation.- Parameters:
duration
- the duration of the animationstartTime
- the starting time for the animationeasing
- theEasingFunction
that the animation will use
-
run
public void run(int duration, EasingFunction easing)
CallsAnimation.run(int)
and sets theEasingFunction
to be used in the animation.- Parameters:
duration
- the duration of the animationeasing
- theEasingFunction
that the animation will use
-
setEasing
public void setEasing(EasingFunction easing)
Sets theEasingFunction
that the animation will use.- Parameters:
easing
- theEasingFunction
that the animation will use
-
-