|
|||||||||
| 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.PlaylistChangeEvent
public class PlaylistChangeEvent
Represents a change in the status of a MPD playlist.
| Field Summary | |
|---|---|
static int |
PLAYLIST_ADDED
a playlist was appended to this playlist |
static int |
PLAYLIST_CHANGED
the playlist version was changed |
static int |
PLAYLIST_CLEARED
the playlist was cleared |
static int |
PLAYLIST_DELETED
the playlist was deleted |
static int |
PLAYLIST_LOADED
the playlist was loaded |
static int |
PLAYLIST_SAVED
the playlist was changed |
static int |
SONG_ADDED
a song was added |
static int |
SONG_DELETED
a song was deleted |
static int |
SONG_SELECTED
a specific song was selected |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
PlaylistChangeEvent(java.lang.Object source,
int id)
Creates a new instance of PlayListChangeEvent |
|
PlaylistChangeEvent(java.lang.Object source,
int id,
java.lang.String msg)
Creates a new instance of PlayListChangeEvent |
|
| 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_SELECTED
public static final int PLAYLIST_ADDED
public static final int PLAYLIST_CHANGED
public static final int PLAYLIST_DELETED
public static final int PLAYLIST_LOADED
public static final int PLAYLIST_SAVED
public static final int PLAYLIST_CLEARED
| Constructor Detail |
|---|
public PlaylistChangeEvent(java.lang.Object source,
int id)
source - the object on which the Event initially occurredid - the specific event that occurred
public PlaylistChangeEvent(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 | ||||||||