java.lang.Object | |
↳ | com.google.gwt.animation.client.Animation |
Known Direct Subclasses |
Known Indirect Subclasses |
An Animation
is a continuous event that updates progressively over
time at a non-fixed frame rate.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Immediately cancel this animation.
| |||||||||||
Run this animation at the given startTime.
| |||||||||||
Immediately run this animation.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Interpolate the linear progress into a more natural easing function.
| |||||||||||
Called immediately after the animation is canceled.
| |||||||||||
Called immediately after the animation completes.
| |||||||||||
Called immediately before the animation starts.
| |||||||||||
Called when the animation should be updated.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Immediately cancel this animation. If the animation is running or is
scheduled to run, onCancel()
will be called.
Run this animation at the given startTime. If the startTime has already passed, the animation will be synchronize as if it started at the specified start time. If the animation is already running, it will be canceled first.
duration | the duration of the animation in milliseconds |
---|---|
startTime | the synchronized start time in milliseconds |
Immediately run this animation. If the animation is already running, it will be canceled first.
duration | the duration of the animation in milliseconds |
---|
Interpolate the linear progress into a more natural easing function.
Depending on the Animation
, the return value of this method can be
less than 0.0 or greater than 1.0.
progress | the linear progress, between 0.0 and 1.0 |
---|
Called immediately after the animation is canceled. The default
implementation of this method calls onComplete()
only if the
animation has actually started running.
Called immediately after the animation completes.
Called immediately before the animation starts.
Called when the animation should be updated.
The value of progress is between 0.0 and 1.0 (inclusive) (unless you
override the interpolate(double)
method to provide a wider range
of values). You can override onStart()
and onComplete()
to perform setup and tear down procedures.
progress | a double, normally between 0.0 and 1.0 (inclusive) |
---|