|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--javazoom.jlGui.playlist.PlaylistItem
PlaylistItem. ----------------------------------------------------------------------- This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ----------------------------------------------------------------------
| Field Summary | |
protected java.lang.String |
_displayName
|
protected boolean |
_isFile
|
protected boolean |
_isSelected
|
protected java.lang.String |
_location
|
protected java.lang.String |
_name
|
protected long |
_seconds
|
protected TagInfo |
_taginfo
|
| Constructor Summary | |
protected |
PlaylistItem()
|
|
PlaylistItem(java.lang.String name,
java.lang.String location,
long seconds,
boolean isFile)
|
| Method Summary | |
java.lang.String |
getFormattedLength()
Returns item lenght such as hh:mm:ss |
java.lang.String |
getFormattedName()
Returns item name such as (hh:mm:ss) Title - Artist if available. |
long |
getLength()
Returns playtime in seconds. |
java.lang.String |
getLocation()
|
java.lang.String |
getM3UExtInf()
Return item name such as hh:mm:ss,Title,Artist |
java.lang.String |
getName()
|
TagInfo |
getTagInfo()
Return TagInfo. |
boolean |
isFile()
Returns true if item to play is coming for a file. |
boolean |
isSelected()
|
void |
setLocation(java.lang.String l)
Reads file comments/tags. |
void |
setSelected(boolean mode)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String _name
protected java.lang.String _displayName
protected java.lang.String _location
protected boolean _isFile
protected long _seconds
protected boolean _isSelected
protected TagInfo _taginfo
| Constructor Detail |
protected PlaylistItem()
public PlaylistItem(java.lang.String name,
java.lang.String location,
long seconds,
boolean isFile)
| Method Detail |
public java.lang.String getFormattedName()
public java.lang.String getName()
public java.lang.String getLocation()
public boolean isFile()
public long getLength()
public void setSelected(boolean mode)
public boolean isSelected()
public void setLocation(java.lang.String l)
l - public java.lang.String getFormattedLength()
public java.lang.String getM3UExtInf()
public TagInfo getTagInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||