superwaba.ext.xplat.game
Class AnimationEvent

java.lang.Object
  |
  +--waba.ui.Event
        |
        +--superwaba.ext.xplat.game.AnimationEvent

public class AnimationEvent
extends Event

Events posted by an animation control.


Field Summary
static int FINISH
          The event type when the animation ends.
static int FRAME
          The event type when a new frame is displayed.
static int LOOP
          The event type when the animation loops.
 
Fields inherited from class waba.ui.Event
consumed, target, timeStamp, type
 
Constructor Summary
AnimationEvent(int type, Object target)
           
 
Methods inherited from class waba.ui.Event
getNextAvailableEventId, isAvailable, touch
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, toString, wait, wait
 

Field Detail

LOOP

public static final int LOOP
The event type when the animation loops.

FRAME

public static final int FRAME
The event type when a new frame is displayed.

FINISH

public static final int FINISH
The event type when the animation ends.
Constructor Detail

AnimationEvent

public AnimationEvent(int type,
                      Object target)