net.sourceforge.atunes.kernel.controllers.playListTab
Class PlayListTabController

java.lang.Object
  extended by net.sourceforge.atunes.kernel.controllers.model.Controller
      extended by net.sourceforge.atunes.kernel.controllers.model.PanelController<PlayListTabPanel>
          extended by net.sourceforge.atunes.kernel.controllers.playListTab.PlayListTabController

public class PlayListTabController
extends PanelController<PlayListTabPanel>

The Class PlayListTabController.


Constructor Summary
PlayListTabController(PlayListTabPanel panel)
          Instantiates a new play list tab controller.
 
Method Summary
protected  void addBindings()
          Adds the bindings.
protected  void addStateBindings()
          Adds the state bindings.
 void deletePlayList(int index)
          Delete play list.
 void forceSwitchTo(int index)
          Force switch to.
 java.util.List<java.lang.String> getNamesOfPlayLists()
          Return names of play lists.
 void newPlayList(java.lang.String name)
          New play list.
protected  void notifyReload()
          Notify reload.
 void renamePlayList(int index, java.lang.String newName)
          Rename play list.
 
Methods inherited from class net.sourceforge.atunes.kernel.controllers.model.PanelController
getPanelControlled
 
Methods inherited from class net.sourceforge.atunes.kernel.controllers.model.Controller
getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayListTabController

public PlayListTabController(PlayListTabPanel panel)
Instantiates a new play list tab controller.

Parameters:
panel - the panel
Method Detail

addBindings

protected void addBindings()
Description copied from class: Controller
Adds the bindings.

Specified by:
addBindings in class Controller

addStateBindings

protected void addStateBindings()
Description copied from class: Controller
Adds the state bindings.

Specified by:
addStateBindings in class Controller

deletePlayList

public void deletePlayList(int index)
Delete play list.

Parameters:
index - the index

forceSwitchTo

public void forceSwitchTo(int index)
Force switch to.

Parameters:
index - the index

newPlayList

public void newPlayList(java.lang.String name)
New play list.

Parameters:
name - the name

notifyReload

protected void notifyReload()
Description copied from class: Controller
Notify reload.

Specified by:
notifyReload in class Controller

renamePlayList

public void renamePlayList(int index,
                           java.lang.String newName)
Rename play list.

Parameters:
index - the index
newName - the new name

getNamesOfPlayLists

public java.util.List<java.lang.String> getNamesOfPlayLists()
Return names of play lists.

Returns:
the names of play lists


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