|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectNSWindowController
WindowController
AviConverterWindowController
Controls a window that converts all the AVI files in the incoming directory to Quicktime movies with the help of the Avi2Mov application. An AVI file is a file with an extension of "avi" or "divx" The window displays a progress bar controlled by a separate thread.
It opens a window only if there is some AVI files to convert. Otherwise, it just dies silently.
Field Summary | |
(package private) NSTextField |
nameField
|
(package private) NSButton |
previewButton
Button linked to the closeWindow action |
(package private) NSProgressIndicator |
progressBar
|
(package private) NSTextField |
statusField
|
Constructor Summary | |
AviConverterWindowController()
Load the nib and shows the window if there is something to do |
Method Summary | |
void |
closeWindow(java.lang.Object sender)
Closes the window. |
static java.io.File |
nextFileToConvert()
Returns the first AVI file found in the "incoming" directory. |
void |
windowDidLoad()
Shows the window if there is something to be converted |
void |
windowWillClose(NSNotification aNotification)
Cleans, ie calls the clean() method |
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 nameField
NSProgressIndicator progressBar
NSTextField statusField
NSButton previewButton
Constructor Detail |
public AviConverterWindowController()
Method Detail |
public void windowDidLoad()
windowDidLoad
in class WindowController
public static java.io.File nextFileToConvert()
NB: the "incoming" name should be taken from the core and not hardcoded
public void closeWindow(java.lang.Object sender)
public void windowWillClose(NSNotification aNotification)
windowWillClose
in class WindowController
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |