public class BasicPlayerEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
EOM |
static int |
GAIN |
static int |
OPENED |
static int |
OPENING |
static int |
PAN |
static int |
PAUSED |
static int |
PLAYING |
static int |
RESUMED |
static int |
SEEKED |
static int |
SEEKING |
static int |
STOPPED |
static int |
UNKNOWN |
Constructor and Description |
---|
BasicPlayerEvent(java.lang.Object source,
int code,
int position,
double value,
java.lang.Object desc)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Return code of the event triggered.
|
java.lang.Object |
getDescription()
Return description.
|
int |
getPosition()
Return position in the stream when event occured.
|
java.lang.Object |
getSource() |
double |
getValue()
Return value related to event triggered.
|
java.lang.String |
toString() |
public static final int UNKNOWN
public static final int OPENING
public static final int OPENED
public static final int PLAYING
public static final int STOPPED
public static final int PAUSED
public static final int RESUMED
public static final int SEEKING
public static final int SEEKED
public static final int EOM
public static final int PAN
public static final int GAIN
public BasicPlayerEvent(java.lang.Object source, int code, int position, double value, java.lang.Object desc)
source
- of the eventcode
- of the enventposition
- optional stream positionvalue
- opitional control valuedesc
- optional descriptionpublic int getCode()
public int getPosition()
public double getValue()
public java.lang.Object getDescription()
public java.lang.Object getSource()
public java.lang.String toString()
toString
in class java.lang.Object
JavaZOOM 1999-2006