com.tuneology.avm
Class PlayerStatus

java.lang.Object
  |
  +--com.tuneology.avm.PlayerStatus

public class PlayerStatus
extends java.lang.Object

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

MODE_STOP

public static final int MODE_STOP
possible value for PlayStatus.status

MODE_PLAY

public static final int MODE_PLAY
possible value for PlayStatus.status

MODE_PAUSE

public static final int MODE_PAUSE
possible value for PlayStatus.status

MODE_OPEN

public static final int MODE_OPEN
possible value for PlayStatus.status

MODE_NO_DISC

public static final int MODE_NO_DISC
possible value for PlayStatus.status

MODE_NOT_READY

public static final int MODE_NOT_READY
possible value for PlayStatus.status

MODE_INVALID

public static final int MODE_INVALID
possible value for PlayStatus.status
Constructor Detail

PlayerStatus

public PlayerStatus()
Method Detail

getStatus

public int getStatus()
One of the following: MODE_STOP, MODE_PLAY, MODE_PAUSE, MODE_OPEN, MODE_NO_DISC, MODE_NOT_READY, MODE_INVALID.

getTrack

public int getTrack()
The current track.

getMin

public int getMin()
The current track time.

getSec

public int getSec()
The current track time.

getFrame

public int getFrame()
The current track time.

setStatus

public void setStatus(int s)
One of the following: MODE_STOP, MODE_PLAY, MODE_PAUSE, MODE_OPEN, MODE_NO_DISC, MODE_NOT_READY, MODE_INVALID.

setTrack

public void setTrack(int t)
The current track.

setMin

public void setMin(int m)
The current track time.

setSec

public void setSec(int s)
The current track time.

setFrame

public void setFrame(int f)
The current track time.

touch

public static void touch()