Class MainWindowController

java.lang.Object
  extended byNSWindowController
      extended byWindowController
          extended byMainWindowController

public class MainWindowController
extends WindowController

See Also:
Serialized Form

Field Summary
(package private)  NSTextField chunksCommentField
           
(package private)  ChunksDisplay chunksView
           
(package private)  DownloadItemSource dataSource
           
(package private)  NSTableView downloadList
           
(package private)  NSTextField downSpeedField
           
(package private)  NSTextField ed2kField
           
(package private)  NSTextField fileNameField
           
(package private)  NSTextField identifierField
           
(package private)  NSDrawer infoView
           
(package private)  NSTextField nbClientsField
           
(package private)  NSTextField upSpeedField
           
 
Constructor Summary
MainWindowController(DonkeyTalker talker)
           
 
Method Summary
 void cancelDownload(java.lang.Object sender)
           
protected  NSColor colorForRow(NSTableView aTableView, int rowIndex)
           
 void commit(java.lang.Object sender)
           
 void ed2kLink(java.lang.Object sender)
           
 boolean hasFinishedItems()
           
 boolean hasSelectedItem()
           
 boolean isDrawerOpened()
           
 void openIncoming(java.lang.Object sender)
           
 void openOptions(java.lang.Object sender)
           
 void pauseDownload(java.lang.Object sender)
           
 void preview(java.lang.Object sender)
           
 boolean processIsLocal()
           
 void resumeDownload(java.lang.Object sender)
           
 void startSearch(java.lang.Object sender)
           
 void tableViewDidClickTableColumn(NSTableView tableView, NSTableColumn tableColumn)
           
 void tableViewSelectionDidChange(NSNotification aNotification)
           
 void toggleInfoPanel(java.lang.Object sender)
           
 void windowDidLoad()
           
 boolean windowShouldClose(NSNotification aNotification)
           
 void windowWillClose(NSNotification aNotification)
           
 
Methods inherited from class WindowController
scrollViewOf, shouldRememberWindowPos, tableViewWillDisplayCell
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chunksView

ChunksDisplay chunksView

dataSource

DownloadItemSource dataSource

downloadList

NSTableView downloadList

downSpeedField

NSTextField downSpeedField

fileNameField

NSTextField fileNameField

identifierField

NSTextField identifierField

infoView

NSDrawer infoView

nbClientsField

NSTextField nbClientsField

upSpeedField

NSTextField upSpeedField

chunksCommentField

NSTextField chunksCommentField

ed2kField

NSTextField ed2kField
Constructor Detail

MainWindowController

public MainWindowController(DonkeyTalker talker)
Method Detail

windowDidLoad

public void windowDidLoad()
Overrides:
windowDidLoad in class WindowController

processIsLocal

public boolean processIsLocal()

startSearch

public void startSearch(java.lang.Object sender)

ed2kLink

public void ed2kLink(java.lang.Object sender)

openOptions

public void openOptions(java.lang.Object sender)

cancelDownload

public void cancelDownload(java.lang.Object sender)

resumeDownload

public void resumeDownload(java.lang.Object sender)

pauseDownload

public void pauseDownload(java.lang.Object sender)

commit

public void commit(java.lang.Object sender)

openIncoming

public void openIncoming(java.lang.Object sender)

preview

public void preview(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)

colorForRow

protected NSColor colorForRow(NSTableView aTableView,
                              int rowIndex)
Overrides:
colorForRow in class WindowController

toggleInfoPanel

public void toggleInfoPanel(java.lang.Object sender)

isDrawerOpened

public boolean isDrawerOpened()

hasSelectedItem

public boolean hasSelectedItem()

hasFinishedItems

public boolean hasFinishedItems()