|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A general interface for objects that perform a sequence of animation steps. Animation objects are executed by an animation player.
Method Summary | |
void |
calcNextFrame(int cursor,
int delta)
Calculates the next animation frame. |
void |
disposeAnimation()
Disposes the animation object. |
int |
getAnimationLength()
Returns the number of animation frames this object will provide. |
AnimationListener |
getAnimationListener()
Returns the animation listener relevant for the displayed results of the animation object. |
long |
getPreferredDuration()
Returns the preferred animation length in milliseconds that the display of all provided animation frames should last. |
void |
initAnimation()
Initializes the animatiopn object. |
Method Detail |
public int getAnimationLength()
public void initAnimation()
calcNextFrame
.
public void calcNextFrame(int cursor, int delta)
public void disposeAnimation()
calcNextFrame
was performed.
public AnimationListener getAnimationListener()
public long getPreferredDuration()
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |