|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManualPlaylist
A Simple Playlist that has a manually managed list of tracks. The list may contain duplicates and the order is, like any list, the order in which the items are added.
Method Summary | |
---|---|
void |
add(Track track)
Add the specified Track to the Playlist. |
void |
add(Track track,
int index)
Add the specified Track to the Playlist. |
void |
addAll(Playlist playlist)
Add the tracks from the specified Playlist |
void |
addAll(Playlist playlist,
int index)
Add the specified tracks to this Playlist at the specified point |
void |
clear()
Clear the Playlist |
void |
mergeAll(Playlist playlist)
Add the specified tracks to this Playlist, but only if they're not duplicates. |
void |
mergeAll(Playlist playlist,
int index)
Add the specified tracks to this Playlist at the specified point, but only if they're not duplicates |
Track |
remove(int index)
Remove the Track at the specified position in the Playlist |
void |
removeAll(java.util.BitSet indices)
Remove tracks at the specified indices from this Playlist |
void |
removeAll(Playlist playlist)
Remove all tracks from the specified Playlist from this Playlist |
boolean |
removeTrack(Track track)
Remove all occurances of the specified Track from the Playlist |
Methods inherited from interface org.qtunes.db.Playlist |
---|
getName, getRevision, getTracks, getUniqueID, setName, size, sort |
Method Detail |
---|
void addAll(Playlist playlist)
playlist
- the tracks to addvoid mergeAll(Playlist playlist)
playlist
- the tracks to addvoid addAll(Playlist playlist, int index)
playlist
- the tracks to addindex
- the insertion position in the listvoid mergeAll(Playlist playlist, int index)
playlist
- the tracks to addindex
- the insertion position in the listvoid add(Track track)
track
- the Track to addvoid add(Track track, int index)
track
- the Track to addindex
- the insertion position in the listvoid clear()
Track remove(int index)
boolean removeTrack(Track track)
void removeAll(Playlist playlist)
void removeAll(java.util.BitSet indices)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |