|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Animation
This interface describes time based animations. Basically,
the #animate
method applies an animation effect
to an animation target over the animation's duration.
AbstractAnimation
,
Animations
Method Summary | |
---|---|
void |
addAnimationListener(AnimationListener listener)
Adds the given AnimationListener to this animation. |
void |
animate(long time)
Animates for the given time, that is, applies the animation effect to the animation target and fires events when the animation is started, stopped or repeated. |
long |
duration()
Returns this animation's duration. |
void |
removeAnimationListener(AnimationListener listener)
Removes the given AnimationListener from this animation. |
Method Detail |
---|
long duration()
void animate(long time)
time
- the time used to determine the animation effectvoid addAnimationListener(AnimationListener listener)
AnimationListener
to this animation.
listener
- the AnimationListener
to addvoid removeAnimationListener(AnimationListener listener)
AnimationListener
from this animation.
listener
- the AnimationListener
to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |