public class MediaClipEvent extends Event<MediaClipHandler>
Event.Type<H>
Modifier and Type | Field and Description |
---|---|
static int |
CLOSED
The event type when the play pauses.
|
static int |
END_OF_MEDIA |
static int |
ERROR |
static int |
STARTED
The event type when the play starts.
|
static int |
STOPPED
The event type when the play ends.
|
Constructor and Description |
---|
MediaClipEvent()
Constructs an empty MediaClipEvent.
|
MediaClipEvent(int type,
java.lang.Object target)
Constructs a MediaClipEvent, setting the type and target to the given parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
dispatch(MediaClipHandler listener) |
clearQueue, getNextAvailableEventId, isAvailable, toString, touch
public static final int STARTED
public static final int STOPPED
public static final int CLOSED
public static final int ERROR
public static final int END_OF_MEDIA
public MediaClipEvent(int type, java.lang.Object target)
public MediaClipEvent()
public void dispatch(MediaClipHandler listener)
dispatch
in class Event<MediaClipHandler>