|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectNSWindowController
WindowController
DaemonOptionsPanelController
Controls the DaemonOptionsPanel panel.
Field Summary | |
(package private) NSTextField |
allServersComment
|
(package private) NSTableView |
allServersList
|
(package private) NSMatrix |
autoUpdateServers
|
(package private) NSButton |
connectButton
|
(package private) NSTextView |
consoleView
|
(package private) NSTextField |
downloadRate
|
(package private) NSTextField |
maxServers
|
(package private) NSButton |
restartButton
|
(package private) NSButton |
serverMetButton
|
(package private) NSTextField |
serversComment
|
(package private) NSTableView |
serversList
|
(package private) NSTextField |
uploadCommentField
|
(package private) NSTextField |
uploadCreditField
|
(package private) NSTextField |
uploadRate
|
Constructor Summary | |
DaemonOptionsPanelController(DonkeyTalker talker,
DownloadItemSource source)
Loads the nib, but does not show the window |
Method Summary | |
void |
addAServer(java.lang.Object sender)
Opens the window that allows to add a given server to the core |
void |
addServerMet(java.lang.Object sender)
Adds a list of servers to the daemon (a server.met file) |
void |
addServers(java.lang.Object sender)
Ask the core to add servers |
void |
cancel(java.lang.Object sender)
Unused |
void |
connectServer(java.lang.Object sender)
Opens the window that allows to add a given server to the core |
void |
emptyTrash(java.lang.Object sender)
Deletes "by hand" the files that have been canceled. |
static boolean |
killCore(DonkeyTalker talker)
|
int |
numberOfRowsInTableView(NSTableView aTableView)
For the servers list. |
void |
recoverTrash(java.lang.Object sender)
Recovers from the temp directory the files that are there but are not in the list |
void |
removeOldServers(java.lang.Object sender)
Asks the server to remove the unused servers |
void |
restartDaemon(java.lang.Object sender)
Tries to kill and then to restart the core |
void |
save(java.lang.Object sender)
Saves the options to the core |
void |
tableViewDidClickTableColumn(NSTableView tableView,
NSTableColumn tableColumn)
For the servers list. |
java.lang.Object |
tableViewObjectValueForLocation(NSTableView aTableView,
NSTableColumn aTableColumn,
int rowIndex)
For the servers list. |
void |
tableViewSelectionDidChange(NSNotification aNotification)
|
void |
tabViewDidSelectTabViewItem(NSTabView tabView,
NSTabViewItem tabViewItem)
|
void |
use15UploadCredit(java.lang.Object sender)
|
void |
useAllUploadCredit(java.lang.Object sender)
|
void |
useHalfUploadCredit(java.lang.Object sender)
|
void |
windowDidLoad()
Updates the display and launches the thread that will update it |
void |
windowWillClose(NSNotification aNotification)
Closes the window and stops the update thread |
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 |
NSTextField downloadRate
NSTextField uploadRate
NSTextField uploadCommentField
NSTextField uploadCreditField
NSTableView serversList
NSTextField serversComment
NSTextField maxServers
NSMatrix autoUpdateServers
NSTextView consoleView
NSTableView allServersList
NSTextField allServersComment
NSButton connectButton
NSButton restartButton
NSButton serverMetButton
Constructor Detail |
public DaemonOptionsPanelController(DonkeyTalker talker, DownloadItemSource source)
Method Detail |
public void windowDidLoad()
windowDidLoad
in class WindowController
public void useAllUploadCredit(java.lang.Object sender)
public void useHalfUploadCredit(java.lang.Object sender)
public void use15UploadCredit(java.lang.Object sender)
public void cancel(java.lang.Object sender)
public void save(java.lang.Object sender)
public void addServers(java.lang.Object sender)
public void addAServer(java.lang.Object sender)
public void addServerMet(java.lang.Object sender)
public void connectServer(java.lang.Object sender)
public void emptyTrash(java.lang.Object sender)
public void recoverTrash(java.lang.Object sender)
public void removeOldServers(java.lang.Object sender)
public void restartDaemon(java.lang.Object sender)
public static boolean killCore(DonkeyTalker talker)
public void windowWillClose(NSNotification aNotification)
windowWillClose
in class WindowController
public int numberOfRowsInTableView(NSTableView aTableView)
public final java.lang.Object tableViewObjectValueForLocation(NSTableView aTableView, NSTableColumn aTableColumn, int rowIndex)
public void tableViewDidClickTableColumn(NSTableView tableView, NSTableColumn tableColumn)
public void tableViewSelectionDidChange(NSNotification aNotification)
public void tabViewDidSelectTabViewItem(NSTabView tabView, NSTabViewItem tabViewItem)
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |