|
Lizzy v1.1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchristophedelory.playlist.wpl.Seq
public class Seq
Contains elements that define a static playlist or elements that define a smart playlist.
When a seq element only contains media elements that reference specific media items, the playlist is considered to be static.
When a seq element contains a smartPlaylist element, it is considered to be a dynamic "smart" playlist.
Windows Media Player 9 Series or later.
| Constructor Summary | |
|---|---|
Seq()
|
|
| Method Summary | |
|---|---|
void |
addMedia(Media media)
Adds a media element to this sequence. |
List<Media> |
getMedias()
Returns the list of media elements. |
SmartPlaylist |
getSmartPlaylist()
Returns the smart playlist, if any. |
void |
setSmartPlaylist(SmartPlaylist smartPlaylist)
Initializes the smart playlist. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Seq()
| Method Detail |
|---|
public void addMedia(Media media)
media - a media element. Shall not be null.
NullPointerException - if media is null.
IllegalStateException - if a smart playlist has already been specified.getMedias()public List<Media> getMedias()
null.addMedia(christophedelory.playlist.wpl.Media)public SmartPlaylist getSmartPlaylist()
null.setSmartPlaylist(christophedelory.playlist.wpl.SmartPlaylist)public void setSmartPlaylist(SmartPlaylist smartPlaylist)
smartPlaylist - a smart playlist element. May be null.
IllegalStateException - if at least one media has already been added in this sequence.getSmartPlaylist()
|
© 2008-2009 Christophe Delory | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||