org.rococoa.cocoa.appkit.categories
Interface NSSavePanelRuntime

All Known Implementing Classes:
NSOpenPanel, NSSavePanel, SFKeychainSavePanel

public interface NSSavePanelRuntime

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static interface NSSavePanelRuntime._static_
           
 
Method Summary
 void beginSheetForDirectory_file_modalForWindow_modalDelegate_didEndSelector_contextInfo(NSString path, NSString name, NSWindow docWindow, org.rococoa.ID delegate, org.rococoa.Selector didEndSelector, Pointer contextInfo)
          didEndSelector should have the signature:
- (void)savePanelDidEnd:(NSSavePanel *)sheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo;
The value passed as returnCode will be either NSCancelButton or NSOKButton.
 void cancel(org.rococoa.ID sender)
           
 void ok(org.rococoa.ID sender)
           
 int runModal()
           
 int runModalForDirectory_file(NSString path, NSString name)
           
 

Method Detail

ok

void ok(org.rococoa.ID sender)

cancel

void cancel(org.rococoa.ID sender)

beginSheetForDirectory_file_modalForWindow_modalDelegate_didEndSelector_contextInfo

void beginSheetForDirectory_file_modalForWindow_modalDelegate_didEndSelector_contextInfo(NSString path,
                                                                                         NSString name,
                                                                                         NSWindow docWindow,
                                                                                         org.rococoa.ID delegate,
                                                                                         org.rococoa.Selector didEndSelector,
                                                                                         Pointer contextInfo)
didEndSelector should have the signature:
- (void)savePanelDidEnd:(NSSavePanel *)sheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo;
The value passed as returnCode will be either NSCancelButton or NSOKButton.
Original signature : -(void)beginSheetForDirectory:(NSString*) file:(NSString*) modalForWindow:(NSWindow*) modalDelegate:(id) didEndSelector:(SEL) contextInfo:(void*)


runModalForDirectory_file

int runModalForDirectory_file(NSString path,
                              NSString name)

runModal

int runModal()