|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
org.bff.javampd.events.PlaylistBasicChangeEvent
public class PlaylistBasicChangeEvent
Represents a change in the status of a MPD music playlist.
| Field Summary | |
|---|---|
static int |
PLAYLIST_CHANGED
the playlist version was changed |
static int |
PLAYLIST_ENDED
the end of the playlist is reached and the player has stopped |
static int |
SONG_ADDED
a song was added |
static int |
SONG_CHANGED
a song was changed |
static int |
SONG_DELETED
a song was deleted |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
PlaylistBasicChangeEvent(java.lang.Object source,
int id)
Creates a new instance of PlayListBasicChangeEvent |
|
PlaylistBasicChangeEvent(java.lang.Object source,
int id,
java.lang.String msg)
Creates a new instance of PlayListBasicChangeEvent |
|
| Method Summary | |
|---|---|
int |
getId()
Returns specific id of the event that occurred. |
java.lang.String |
getMsg()
Returns the message attached to this event. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int SONG_ADDED
public static final int SONG_DELETED
public static final int SONG_CHANGED
public static final int PLAYLIST_CHANGED
public static final int PLAYLIST_ENDED
| Constructor Detail |
|---|
public PlaylistBasicChangeEvent(java.lang.Object source,
int id)
source - the object on which the Event initially occurredid - the specific event that occurred
public PlaylistBasicChangeEvent(java.lang.Object source,
int id,
java.lang.String msg)
source - the object on which the Event initially occurredid - the specific event that occurredmsg - an optional message| Method Detail |
|---|
public int getId()
public java.lang.String getMsg()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||