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.
 void enableSavePlaylist(boolean enable)
          Enable save playlist.
 void enableShufflePlaylist(boolean enable)
          Enable shuffle playlist.
protected  void notifyReload()
          Notify reload.
 void setDeviceConnected(boolean enable)
          Sets the device connected.
 void setRipCDEnabled(boolean enable)
          Sets the rip cd enabled.
 void setShowAudioScrobblerPanel(boolean show)
          Sets the show audio scrobbler panel.
 void setShowNavigationPanel(boolean show)
          Sets the show navigation panel.
 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 setShowSongProperties(boolean show)
          Sets the show song properties.
 void setShowStatusBar(boolean show)
          Sets the show status bar check box value
 void setShowToolBar(boolean show)
          Sets the show tool 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

enableSavePlaylist

public void enableSavePlaylist(boolean enable)
Enable save playlist.

Parameters:
enable - the enable

enableShufflePlaylist

public void enableShufflePlaylist(boolean enable)
Enable shuffle playlist.

Parameters:
enable - the enable

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

setRipCDEnabled

public void setRipCDEnabled(boolean enable)
Sets the rip cd enabled.

Parameters:
enable - the new rip cd enabled

setShowAudioScrobblerPanel

public void setShowAudioScrobblerPanel(boolean show)
Sets the show audio scrobbler panel.

Parameters:
show - the new show audio scrobbler panel

setShowNavigationPanel

public void setShowNavigationPanel(boolean show)
Sets the show navigation panel.

Parameters:
show - the new show navigation panel

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

setShowSongProperties

public void setShowSongProperties(boolean show)
Sets the show song properties.

Parameters:
show - the new show song properties

setShowStatusBar

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

Parameters:
show - the new show status bar

setShowToolBar

public void setShowToolBar(boolean show)
Sets the show tool bar check box value

Parameters:
show -


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