|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--fcmodeler.animation.AnimationEvent
An event representing a change in an animation. The animator controlling the animation can be
accessed through the getAnimator
method, and the current frame can be accesed through
the getFrame
method.
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
AnimationEvent(Animator animator,
int frame)
Creates a new AnimationEvent using the specified animator and frame number. |
Method Summary | |
Animator |
getAnimator()
Returns the animator that caused this event to occur. |
int |
getFrame()
Returns the frame number of this event. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AnimationEvent(Animator animator, int frame)
AnimationEvent
using the specified animator and frame number.animator
- the animator that caused this event to occur.frame
- the current frame number.Method Detail |
public Animator getAnimator()
public int getFrame()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |