net.sourceforge.atunes.kernel.controllers.searchResults
Class SearchResultsController

java.lang.Object
  extended by net.sourceforge.atunes.kernel.controllers.model.Controller
      extended by net.sourceforge.atunes.kernel.controllers.model.DialogController<SearchResultsDialog>
          extended by net.sourceforge.atunes.kernel.controllers.searchResults.SearchResultsController

public class SearchResultsController
extends DialogController<SearchResultsDialog>

Controller for SearchResultsDialog.


Constructor Summary
SearchResultsController(SearchResultsDialog dialog)
          Constructor.
 
Method Summary
protected  void addBindings()
          Adds the bindings.
protected  void addStateBindings()
          Adds the state bindings.
protected  void addToNewPlayList()
          Adds selected results to a new play list.
protected  void addToPlayList()
          Adds selected results to current play list.
protected  void notifyReload()
          Notify reload.
protected  void showInfo()
          Displays info of first selected item.
 void showSearchResults(SearchableObject searchableObject, java.util.List<SearchResult> resultsList)
          Shows dialog with search results.
 
Methods inherited from class net.sourceforge.atunes.kernel.controllers.model.DialogController
getDialogControlled
 
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

SearchResultsController

public SearchResultsController(SearchResultsDialog dialog)
Constructor.

Parameters:
dialog - the dialog
Method Detail

showSearchResults

public void showSearchResults(SearchableObject searchableObject,
                              java.util.List<SearchResult> resultsList)
Shows dialog with search results.

Parameters:
searchableObject - the searchable object
resultsList - the results

addBindings

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

Specified by:
addBindings in class Controller

showInfo

protected void showInfo()
Displays info of first selected item.


addToPlayList

protected void addToPlayList()
Adds selected results to current play list.


addToNewPlayList

protected void addToNewPlayList()
Adds selected results to a new play list.


addStateBindings

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

Specified by:
addStateBindings in class Controller

notifyReload

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

Specified by:
notifyReload in class Controller


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