net.sourceforge.atunes.kernel.controllers.menu
Class MenuController

java.lang.Object
  extended by net.sourceforge.atunes.kernel.controllers.model.Controller
      extended by net.sourceforge.atunes.kernel.controllers.menu.MenuController

public class MenuController
extends Controller

The Class MenuController.

Author:
fleax

Constructor Summary
MenuController(ApplicationMenuBar menu)
          Instantiates a new menu controller.
 
Method Summary
protected  void addBindings()
          Adds the bindings.
protected  void addStateBindings()
          Adds the state bindings.
 void disablePlayListItems(boolean disable, boolean radioOrPodcastFeedEntrySelected)
          Disable play list items.
protected  void notifyReload()
          Notify reload.
 void setDeviceConnected(boolean enable)
          Sets the device connected.
 void setShowNavigationTable(boolean show)
          Sets the show navigation table.
 void setShowOSD(boolean enable)
          Sets the show osd.
 void setShowPlaylistControls(boolean enable)
          Sets the show playlist controls.
 void setShowStatusBar(boolean show)
          Sets the show status bar check box value
 
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

MenuController

public MenuController(ApplicationMenuBar menu)
Instantiates a new menu controller.

Parameters:
menu - the menu
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

disablePlayListItems

public void disablePlayListItems(boolean disable,
                                 boolean radioOrPodcastFeedEntrySelected)
Disable play list items.

Parameters:
disable - the disable
radioOrPodcastFeedEntrySelected - the radio or podcast feed entry selected

notifyReload

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

Specified by:
notifyReload in class Controller

setDeviceConnected

public void setDeviceConnected(boolean enable)
Sets the device connected.

Parameters:
enable - the new device connected

setShowNavigationTable

public void setShowNavigationTable(boolean show)
Sets the show navigation table.

Parameters:
show - the new show navigation table

setShowOSD

public void setShowOSD(boolean enable)
Sets the show osd.

Parameters:
enable - the new show osd

setShowPlaylistControls

public void setShowPlaylistControls(boolean enable)
Sets the show playlist controls.

Parameters:
enable - the new show playlist controls

setShowStatusBar

public void setShowStatusBar(boolean show)
Sets the show status bar check box value

Parameters:
show - the new show status bar


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