|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface JukeBox.Listener
JukeBox.Listener listens to events triggered by a JukeBox object.
| Field Summary | |
|---|---|
static int |
END_OF_SONG
indicates that the current song just ended |
static int |
MUSIC_RESUMED
indicates that the music play of the JukeBox is resumed |
static int |
MUSIC_STOPPED
indicates that the stop() method on the JukeBox was called |
static int |
NEXT_REQUESTED
indicates a user request to play the next song |
static int |
PLAYING_NEW_SONG
indicates that a new song is now being played |
| Method Summary | |
|---|---|
void |
stateChange(JukeBox jb,
int type)
called the state of the given JukeBox changes. |
| Field Detail |
|---|
static final int NEXT_REQUESTED
static final int MUSIC_STOPPED
static final int MUSIC_RESUMED
static final int END_OF_SONG
static final int PLAYING_NEW_SONG
| Method Detail |
|---|
void stateChange(JukeBox jb,
int type)
type - one of the constants of this class
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||