net.sourceforge.atunes.kernel.modules.playlist
Class ListOfPlayLists

java.lang.Object
  extended by net.sourceforge.atunes.kernel.modules.playlist.ListOfPlayLists
All Implemented Interfaces:
java.io.Serializable

public class ListOfPlayLists
extends java.lang.Object
implements java.io.Serializable

This class is used to contain all playlists when storing and reading from disk.

Author:
alex
See Also:
Serialized Form

Constructor Summary
ListOfPlayLists()
           
 
Method Summary
static ListOfPlayLists getEmptyPlayList()
          Returns a list of playlists with an empty playlist.
 java.util.List<PlayList> getPlayLists()
          Gets the play lists.
 int getSelectedPlayList()
          Gets the selected play list.
 PlayList getSelectedPlayListObject()
          Returns selected playlist object.
 void setPlayLists(java.util.List<PlayList> playLists)
          Sets the play lists.
 void setSelectedPlayList(int selectedPlayList)
          Sets the selected play list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListOfPlayLists

public ListOfPlayLists()
Method Detail

getEmptyPlayList

public static ListOfPlayLists getEmptyPlayList()
Returns a list of playlists with an empty playlist.

Returns:
the empty play list

getPlayLists

public java.util.List<PlayList> getPlayLists()
Gets the play lists.

Returns:
the playLists

getSelectedPlayList

public int getSelectedPlayList()
Gets the selected play list.

Returns:
the selectedPlayList

getSelectedPlayListObject

public PlayList getSelectedPlayListObject()
Returns selected playlist object.

Returns:
the selected play list object

setPlayLists

public void setPlayLists(java.util.List<PlayList> playLists)
Sets the play lists.

Parameters:
playLists - the playLists to set

setSelectedPlayList

public void setSelectedPlayList(int selectedPlayList)
Sets the selected play list.

Parameters:
selectedPlayList - the selectedPlayList to set


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.