|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchrriis.dj.nativeswing.swtimpl.components.VLCPlaylist
public class VLCPlaylist
A VLC object responsible for playlist-related actions.
| Method Summary | |
|---|---|
void |
addItem(Class<?> clazz,
String resourcePath)
Add an item from the classpath to the playlist. |
void |
addItem(Class<?> clazz,
String resourcePath,
String options)
Add an item from the classpath to the playlist. |
void |
addItem(String resourcePath)
Add an item to the playlist. |
void |
addItem(String resourcePath,
String options)
Add an item to the playlist. |
void |
clear()
Clear the playlist. |
int |
getItemCount()
Get the number of items in the playlist. |
void |
goNext()
Move to the next item of the playlist. |
void |
goPrevious()
Move to the previous item of the playlist. |
boolean |
isPlaying()
Indicate whether the playlist is currently playing an item. |
void |
play()
Start playing the playlist. |
void |
playItem(int itemID)
Start playing an item from the playlist using its ID. |
void |
removeItem(int index)
Remove an item using its index. |
void |
stop()
Stop playing. |
void |
togglePause()
Toggle the pause state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getItemCount()
public boolean isPlaying()
public void addItem(Class<?> clazz,
String resourcePath)
clazz - the reference clazz of the file to load.resourcePath - the path to the file.
public void addItem(Class<?> clazz,
String resourcePath,
String options)
clazz - the reference clazz of the file to load.resourcePath - the path to the file.options - VLC options, for example ":start-time=30 :no-audio".public void addItem(String resourcePath)
resourcePath - the path or URL to the file.
public void addItem(String resourcePath,
String options)
resourcePath - the path or URL to the file.options - VLC options, for example ":start-time=30 :no-audio".public void play()
public void playItem(int itemID)
itemID - the ID of the item to play.public void togglePause()
public void stop()
public void goNext()
public void goPrevious()
public void clear()
public void removeItem(int index)
index - the index of the item.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||