Class SearchWindowController

java.lang.Object
  extended byNSWindowController
      extended byWindowController
          extended bySearchWindowController

public class SearchWindowController
extends WindowController

See Also:
Serialized Form

Field Summary
(package private)  NSTextField aliasesField
           
(package private)  NSTextField asAlbumField
           
(package private)  NSTextField asArtistField
           
(package private)  NSTextField asFormatField
           
(package private)  NSTextField asMaxSizeField
           
(package private)  NSPopUpButton asMaxSizeTypeButton
           
(package private)  NSTextField asMediaField
           
(package private)  NSPopUpButton asMinBitrateButton
           
(package private)  NSTextField asMinSizeField
           
(package private)  NSPopUpButton asMinSizeTypeButton
           
(package private)  NSTextField asTitleField
           
(package private)  NSTextField codecField
           
(package private)  SearchedItemSource dataSource
           
(package private)  NSButton downloadButton
           
(package private)  NSButton extendedButton
           
(package private)  NSDrawer extendedSearchDrawer
           
(package private)  NSTextField identifierField
           
(package private)  NSDrawer infoDrawer
           
(package private)  NSProgressIndicator progressBar
           
(package private)  NSTableView resultList
           
(package private)  NSButton searchButton
           
(package private)  NSComboBox searchField
           
 
Constructor Summary
SearchWindowController(DonkeyTalker talker, DownloadItemSource source)
           
 
Method Summary
 int comboBoxIndexOfItem(NSComboBox aComboBox, java.lang.String aString)
           
 java.lang.Object comboBoxObjectValueForItemAtIndex(NSComboBox aComboBox, int index)
           
 void comboBoxSelectionDidChange(NSNotification notification)
           
 void comboBoxWillPopUp(NSNotification notification)
           
 void controlTextDidChange(NSNotification aNotification)
           
 void extendedClicked(java.lang.Object sender)
           
 void extendSearch(java.lang.Object sender)
           
 int numberOfItemsInComboBox(NSComboBox aComboBox)
           
 void search(java.lang.Object sender)
           
 void startDownload(java.lang.Object sender)
           
 void tableViewDidClickTableColumn(NSTableView tableView, NSTableColumn tableColumn)
           
 void tableViewSelectionDidChange(NSNotification aNotification)
           
 void updateDrawer()
           
 void windowDidLoad()
           
 boolean windowShouldClose(NSNotification aNotification)
           
 void windowWillClose(NSNotification aNotification)
           
 
Methods inherited from class WindowController
colorForRow, scrollViewOf, shouldRememberWindowPos, tableViewWillDisplayCell
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

aliasesField

NSTextField aliasesField

codecField

NSTextField codecField

dataSource

SearchedItemSource dataSource

identifierField

NSTextField identifierField

infoDrawer

NSDrawer infoDrawer

progressBar

NSProgressIndicator progressBar

resultList

NSTableView resultList

searchField

NSComboBox searchField

searchButton

NSButton searchButton

downloadButton

NSButton downloadButton

extendedButton

NSButton extendedButton

extendedSearchDrawer

NSDrawer extendedSearchDrawer

asAlbumField

NSTextField asAlbumField

asArtistField

NSTextField asArtistField

asFormatField

NSTextField asFormatField

asMaxSizeField

NSTextField asMaxSizeField

asMaxSizeTypeButton

NSPopUpButton asMaxSizeTypeButton

asMediaField

NSTextField asMediaField

asMinBitrateButton

NSPopUpButton asMinBitrateButton

asMinSizeField

NSTextField asMinSizeField

asMinSizeTypeButton

NSPopUpButton asMinSizeTypeButton

asTitleField

NSTextField asTitleField
Constructor Detail

SearchWindowController

public SearchWindowController(DonkeyTalker talker,
                              DownloadItemSource source)
Method Detail

windowDidLoad

public void windowDidLoad()
Overrides:
windowDidLoad in class WindowController

extendedClicked

public void extendedClicked(java.lang.Object sender)

extendSearch

public void extendSearch(java.lang.Object sender)

search

public void search(java.lang.Object sender)

startDownload

public void startDownload(java.lang.Object sender)

windowShouldClose

public boolean windowShouldClose(NSNotification aNotification)

windowWillClose

public void windowWillClose(NSNotification aNotification)
Overrides:
windowWillClose in class WindowController

tableViewSelectionDidChange

public void tableViewSelectionDidChange(NSNotification aNotification)

tableViewDidClickTableColumn

public void tableViewDidClickTableColumn(NSTableView tableView,
                                         NSTableColumn tableColumn)

updateDrawer

public void updateDrawer()

numberOfItemsInComboBox

public int numberOfItemsInComboBox(NSComboBox aComboBox)

comboBoxObjectValueForItemAtIndex

public java.lang.Object comboBoxObjectValueForItemAtIndex(NSComboBox aComboBox,
                                                          int index)

comboBoxIndexOfItem

public int comboBoxIndexOfItem(NSComboBox aComboBox,
                               java.lang.String aString)

comboBoxSelectionDidChange

public void comboBoxSelectionDidChange(NSNotification notification)

comboBoxWillPopUp

public void comboBoxWillPopUp(NSNotification notification)

controlTextDidChange

public void controlTextDidChange(NSNotification aNotification)