|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavazoom.jlgui.basicplayer.BasicPlayerEvent
public class BasicPlayerEvent
This class implements player events.
Field Summary | |
---|---|
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 Summary | |
---|---|
BasicPlayerEvent(java.lang.Object source,
int code,
int position,
double value,
java.lang.Object desc)
Constructor |
Method Summary | |
---|---|
int |
getCode()
Return code of the event triggered. |
java.lang.Object |
getDescription()
Return description. |
int |
getPosition()
Return position in the stream when event occured. |
double |
getValue()
Return value related to event triggered. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
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 descriptionMethod Detail |
---|
public int getCode()
public int getPosition()
public double getValue()
public java.lang.Object getDescription()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |