All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.OpenPanel

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Responder
                   |
                   +----com.apple.alpha.app.Window
                           |
                           +----com.apple.alpha.app.Panel
                                   |
                                   +----com.apple.alpha.app.SavePanel
                                           |
                                           +----com.apple.alpha.app.OpenPanel

public class OpenPanel
extends SavePanel
This class wraps the Objective-C class NSOpenPanel.


Constructor Index

 o OpenPanel()
This default constructor is equivalent to Objective-C's [[NSOpenPanel alloc] init].
 o OpenPanel(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o OpenPanel(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o OpenPanel(Rect, int, int, boolean)
This constructor has the same effect as calling - initWithContentRect:styleMask:backing:defer: on a newly allocated object.
 o OpenPanel(Rect, int, int, boolean, Screen)
This constructor has the same effect as calling - initWithContentRect:styleMask:backing:defer:screen: on a newly allocated object.

Method Index

 o allowsMultipleSelection()
A wrapper for the - allowsMultipleSelection Objective-C instance method.
 o canChooseDirectories()
A wrapper for the - canChooseDirectories Objective-C instance method.
 o canChooseFiles()
A wrapper for the - canChooseFiles Objective-C instance method.
 o filenames()
A wrapper for the - filenames Objective-C instance method.
 o openPanel()
A wrapper for the + openPanel Objective-C class method.
 o runModalForTypes(Array)
A wrapper for the - runModalForTypes: Objective-C instance method.
 o runModalInDirectoryWithFileForTypes(String, String, Array)
A wrapper for the - runModalForDirectory:file:types: Objective-C instance method.
 o setAllowsMultipleSelection(boolean)
A wrapper for the - setAllowsMultipleSelection: Objective-C instance method.
 o setCanChooseDirectories(boolean)
A wrapper for the - setCanChooseDirectories: Objective-C instance method.
 o setCanChooseFiles(boolean)
A wrapper for the - setCanChooseFiles: Objective-C instance method.

Constructors

 o OpenPanel
 protected OpenPanel(boolean shouldAllocate,
                     int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o OpenPanel
 public OpenPanel()
This default constructor is equivalent to Objective-C's [[NSOpenPanel alloc] init].

 o OpenPanel
 public OpenPanel(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o OpenPanel
 public OpenPanel(Rect contentRect,
                  int aStyle,
                  int bufferingType,
                  boolean flag)
This constructor has the same effect as calling - initWithContentRect:styleMask:backing:defer: on a newly allocated object.

 o OpenPanel
 public OpenPanel(Rect contentRect,
                  int aStyle,
                  int bufferingType,
                  boolean flag,
                  Screen screen)
This constructor has the same effect as calling - initWithContentRect:styleMask:backing:defer:screen: on a newly allocated object.

Methods

 o openPanel
 public static native OpenPanel openPanel()
A wrapper for the + openPanel Objective-C class method.

 o setAllowsMultipleSelection
 public native void setAllowsMultipleSelection(boolean flag)
A wrapper for the - setAllowsMultipleSelection: Objective-C instance method.

 o allowsMultipleSelection
 public native boolean allowsMultipleSelection()
A wrapper for the - allowsMultipleSelection Objective-C instance method.

 o setCanChooseDirectories
 public native void setCanChooseDirectories(boolean flag)
A wrapper for the - setCanChooseDirectories: Objective-C instance method.

 o canChooseDirectories
 public native boolean canChooseDirectories()
A wrapper for the - canChooseDirectories Objective-C instance method.

 o setCanChooseFiles
 public native void setCanChooseFiles(boolean flag)
A wrapper for the - setCanChooseFiles: Objective-C instance method.

 o canChooseFiles
 public native boolean canChooseFiles()
A wrapper for the - canChooseFiles Objective-C instance method.

 o filenames
 public native Array filenames()
A wrapper for the - filenames Objective-C instance method.

 o runModalInDirectoryWithFileForTypes
 public native int runModalInDirectoryWithFileForTypes(String path,
                                                       String name,
                                                       Array fileTypes)
A wrapper for the - runModalForDirectory:file:types: Objective-C instance method.

 o runModalForTypes
 public native int runModalForTypes(Array fileTypes)
A wrapper for the - runModalForTypes: Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index