|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the required functionality of an audio player component.
Field Summary | |
static int |
STATUS_PAUSED
Constant for the paused state. |
static int |
STATUS_PLAYING
Constant for the playing state. |
static int |
STATUS_STOPPED
Constant for the stopped state. |
Method Summary | |
void |
addAudioPlayerListener(AudioPlayerListener listener)
Adds a listener to the list of player listeners. |
int |
getFrameSeek()
Returns the frame seek position. |
int |
getStatus()
Returns the current state of the player. |
void |
pause()
Pauses the player. |
void |
play(java.io.File file)
Plays the specified file. |
void |
stop()
Stops the player. |
void |
unpause()
Unpauses the player. |
Methods inherited from interface com.limegroup.gnutella.gui.RefreshListener |
refresh |
Field Detail |
public static final int STATUS_PLAYING
public static final int STATUS_PAUSED
public static final int STATUS_STOPPED
Method Detail |
public int getStatus()
public void unpause()
public void pause()
public void stop()
public void play(java.io.File file)
file
- the File instance denoting the abstract pathname of
the file to playpublic int getFrameSeek()
public void addAudioPlayerListener(AudioPlayerListener listener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |