|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.lightdev.lib.audio.PlaylistItem
public abstract class PlaylistItem
Class PlaylistItem is the base class for other classes that
model an audio file
| Field Summary | |
|---|---|
protected File |
audioFile
the audio file this PlaylistItem represents |
protected boolean |
playing
indicates if this item is currently playing |
| Constructor Summary | |
|---|---|
PlaylistItem(File audioFile)
construct a PlaylistItem to represent a given audio file |
|
PlaylistItem(String pathname)
construct a PlaylistItem from a given path and name of an audio file |
|
| Method Summary | |
|---|---|
File |
getAudioFile()
get the audio file this PlaylistItem represents |
boolean |
getPlayingIndicator()
get the playing indicator of this PlaylistItem |
void |
setPlayingIndicator(boolean isPlaying)
set the play indicator of this PlaylistItem |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected File audioFile
PlaylistItem represents
protected boolean playing
| Constructor Detail |
|---|
public PlaylistItem(File audioFile)
PlaylistItem to represent a given audio file
audioFile - File the audio file this PlaylistItem representspublic PlaylistItem(String pathname)
PlaylistItem from a given path and name of an audio file
pathname - String the path and name of the audio file of the PlaylistItem| Method Detail |
|---|
public void setPlayingIndicator(boolean isPlaying)
PlaylistItem
isPlaying - boolean true, if this item is currently played, false if notpublic boolean getPlayingIndicator()
PlaylistItem
public File getAudioFile()
PlaylistItem represents
|
Copyright (c) 2004, 2005 Ulrich Hilger | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||