Package totalcross.game
Class AnimationEvent
- java.lang.Object
-
- totalcross.ui.event.Event<AnimationHandler>
-
- totalcross.game.AnimationEvent
-
@Deprecated public class AnimationEvent extends Event<AnimationHandler>
Deprecated.Events posted by an animation control.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class totalcross.ui.event.Event
Event.Type<H>
-
-
Constructor Summary
Constructors Constructor Description AnimationEvent(int type, java.lang.Object target)Deprecated.Constructs a new animation event, setting the type and target to the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddispatch(AnimationHandler listener)Deprecated.-
Methods inherited from class totalcross.ui.event.Event
clearQueue, getNextAvailableEventId, isAvailable, toString, touch
-
-
-
-
Field Detail
-
LOOP
public static final int LOOP
Deprecated.The event type when the animation loops.- See Also:
- Constant Field Values
-
FRAME
public static final int FRAME
Deprecated.The event type when a new frame is displayed.- See Also:
- Constant Field Values
-
FINISH
public static final int FINISH
Deprecated.The event type when the animation ends.- See Also:
- Constant Field Values
-
-
Method Detail
-
dispatch
public void dispatch(AnimationHandler listener)
Deprecated.- Specified by:
dispatchin classEvent<AnimationHandler>
-
-