|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.tuneology.avm.PlayerStatus
Represents the state of a CD drive playing an audio cd.
Field Summary | |
static int |
MODE_INVALID
possible value for PlayStatus.status |
static int |
MODE_NO_DISC
possible value for PlayStatus.status |
static int |
MODE_NOT_READY
possible value for PlayStatus.status |
static int |
MODE_OPEN
possible value for PlayStatus.status |
static int |
MODE_PAUSE
possible value for PlayStatus.status |
static int |
MODE_PLAY
possible value for PlayStatus.status |
static int |
MODE_STOP
possible value for PlayStatus.status |
Constructor Summary | |
PlayerStatus()
|
Method Summary | |
int |
getFrame()
The current track time. |
int |
getMin()
The current track time. |
int |
getSec()
The current track time. |
int |
getStatus()
One of the following: MODE_STOP, MODE_PLAY, MODE_PAUSE, MODE_OPEN, MODE_NO_DISC, MODE_NOT_READY, MODE_INVALID. |
int |
getTrack()
The current track. |
void |
setFrame(int f)
The current track time. |
void |
setMin(int m)
The current track time. |
void |
setSec(int s)
The current track time. |
void |
setStatus(int s)
One of the following: MODE_STOP, MODE_PLAY, MODE_PAUSE, MODE_OPEN, MODE_NO_DISC, MODE_NOT_READY, MODE_INVALID. |
void |
setTrack(int t)
The current track. |
static void |
touch()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MODE_STOP
public static final int MODE_PLAY
public static final int MODE_PAUSE
public static final int MODE_OPEN
public static final int MODE_NO_DISC
public static final int MODE_NOT_READY
public static final int MODE_INVALID
Constructor Detail |
public PlayerStatus()
Method Detail |
public int getStatus()
public int getTrack()
public int getMin()
public int getSec()
public int getFrame()
public void setStatus(int s)
public void setTrack(int t)
public void setMin(int m)
public void setSec(int s)
public void setFrame(int f)
public static void touch()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |