org.rococoa.cocoa.appkit
Class NSSavePanel

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.appkit.NSResponder
          extended by org.rococoa.cocoa.appkit.NSWindow
              extended by org.rococoa.cocoa.appkit.NSPanel
                  extended by org.rococoa.cocoa.appkit.NSSavePanel
All Implemented Interfaces:
NSUserInterfaceValidations, NSCoding, NSObject, ObjCObject
Direct Known Subclasses:
NSOpenPanel

public abstract class NSSavePanel
extends NSPanel

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 class NSSavePanel._class_
           
 
Nested classes/interfaces inherited from class org.rococoa.cocoa.appkit.NSWindow
NSWindow.__wFlags
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.appkit.protocols.NSUserInterfaceValidations
NSUserInterfaceValidations._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
NSCoding._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSSavePanel()
           
 
Method Summary
abstract  NSView accessoryView()
          Gets and sets the accessory view shown in the panel.
static NSSavePanel alloc()
           
abstract  NSArray allowedFileTypes()
          NSSavePanel: An array of NSStrings specifying the file types the user can save the file as.
abstract  boolean allowsOtherFileTypes()
          NSSavePanel: Returns a BOOL value that indicates whether the receiver allows the user to save files with an extension that's not in the list of 'allowedFileTypes'.
abstract  void cancel(ObjCObject sender)
          Original signature : -(void)cancel:(id)
native declaration : NSSavePanel.h:189
abstract  boolean canCreateDirectories()
          NSSavePanel/NSOpenPanel: Set to YES to allow the "New Folder" button to be shown.
abstract  boolean canSelectHiddenExtension()
          NSSavePanel: Set to YES to show the extension-hiding checkbox.
abstract  NSOpenSavePanelDelegate delegate()
          Gets and sets the delegate.
abstract  NSURL directoryURL()
          NSSavePanel/NSOpenPanel: Gets and sets the directoryURL shown.
static NSSavePanel._class_ getNSClass()
           
abstract  boolean isExpanded()
          NSSavePanel: Returns YES if the panel is expanded.
abstract  boolean isExtensionHidden()
          NSSavePanel: Set to YES if the extension-hiding checkbox should checked.
abstract  NSString message()
          NSSavePanel/NSOpenPanel: Gets and sets the message shown under title of the panel.
abstract  NSString nameFieldLabel()
          NSSavePanel: Gets and sets the text shown to the left of the "name field".
abstract  NSString nameFieldStringValue()
          NSSavePanel: Gets and sets the user-editable file name shown in the name field.
static NSSavePanel new_()
           
abstract  void ok(ObjCObject sender)
          Original signature : -(void)ok:(id)
native declaration : NSSavePanel.h:188
abstract  NSString prompt()
          NSSavePanel/NSOpenPanel: Sets the text shown on the Open or Save button.
abstract  NSInteger runModal()
          NSSavePanel/NSOpenPanel: Presents the panel as an application modal window.
static NSSavePanel savePanel()
          Creates a new instance of the NSSavePanel.
abstract  void setAccessoryView(NSView view)
          Original signature : -(void)setAccessoryView:(NSView*)
native declaration : NSSavePanel.h:117
abstract  void setAllowedFileTypes(NSArray types)
          Original signature : -(void)setAllowedFileTypes:(NSArray*)
native declaration : NSSavePanel.h:106
abstract  void setAllowsOtherFileTypes(boolean flag)
          Original signature : -(void)setAllowsOtherFileTypes:(BOOL)
native declaration : NSSavePanel.h:112
abstract  void setCanCreateDirectories(boolean flag)
          Original signature : -(void)setCanCreateDirectories:(BOOL)
native declaration : NSSavePanel.h:132
abstract  void setCanSelectHiddenExtension(boolean flag)
          Original signature : -(void)setCanSelectHiddenExtension:(BOOL)
native declaration : NSSavePanel.h:138
abstract  void setDelegate(NSOpenSavePanelDelegate delegate)
          Original signature : -(void)setDelegate:(id)
native declaration : NSSavePanel.h:122
abstract  void setDirectoryURL(NSURL url)
          Original signature : -(void)setDirectoryURL:(NSURL*)
native declaration : NSSavePanel.h:99
abstract  void setExtensionHidden(boolean flag)
          Original signature : -(void)setExtensionHidden:(BOOL)
native declaration : NSSavePanel.h:144
abstract  void setMessage(NSString message)
          Original signature : -(void)setMessage:(NSString*)
native declaration : NSSavePanel.h:176
abstract  void setNameFieldLabel(NSString label)
          Original signature : -(void)setNameFieldLabel:(NSString*)
native declaration : NSSavePanel.h:165
abstract  void setNameFieldStringValue(NSString value)
          Original signature : -(void)setNameFieldStringValue:(NSString*)
native declaration : NSSavePanel.h:171
abstract  void setPrompt(NSString prompt)
          Original signature : -(void)setPrompt:(NSString*)
native declaration : NSSavePanel.h:154
abstract  void setShowsHiddenFiles(boolean flag)
          Original signature : -(void)setShowsHiddenFiles:(BOOL)
native declaration : NSSavePanel.h:183
abstract  void setTitle(NSString title)
          Original signature : -(void)setTitle:(NSString*)
native declaration : NSSavePanel.h:159
abstract  void setTreatsFilePackagesAsDirectories(boolean flag)
          Original signature : -(void)setTreatsFilePackagesAsDirectories:(BOOL)
native declaration : NSSavePanel.h:149
abstract  boolean showsHiddenFiles()
          NSSavePanel/NSOpenPanel: If showsHiddenFiles is set to YES, files that are normally hidden from the user are displayed.
abstract  NSString title()
          NSSavePanel/NSOpenPanel: Gets and sets the title for the panel shown at the top of the window.
abstract  boolean treatsFilePackagesAsDirectories()
          NSSavePanel/NSOpenPanel: If set to YES, the user can open into file packages, as though they were directories.
abstract  NSURL URL()
          NSSavePanel: Returns the URL to save the file at.
abstract  void validateVisibleColumns()
          Original signature : -(void)validateVisibleColumns
native declaration : NSSavePanel.h:178
 
Methods inherited from class org.rococoa.cocoa.appkit.NSPanel
becomesKeyOnlyIfNeeded, isFloatingPanel, setBecomesKeyOnlyIfNeeded, setFloatingPanel, setWorksWhenModal, worksWhenModal
 
Methods inherited from class org.rococoa.cocoa.appkit.NSWindow
acceptsMouseMovedEvents, allowsConcurrentViewDrawing, allowsToolTipsWhenApplicationIsInactive, alphaValue, animationResizeTime, areCursorRectsEnabled, as_NSWindow_Drawers, as_NSWindow_NSCarbonExtensions, as_NSWindow_NSDrag, as_NSWindow_NSKeyboardUI, as_NSWindow_NSScripting, as_NSWindow_NSToolbarSupport, aspectRatio, attachedSheet, backgroundColor, backingLocation, backingType, becomeKeyWindow, becomeMainWindow, cacheImageInRect, canBecomeKeyWindow, canBecomeMainWindow, canBecomeVisibleWithoutLogin, canBeVisibleOnAllSpaces, canHide, canStoreColor, center, childWindows, close, collectionBehavior, colorSpace, constrainFrameRect_toScreen, contentAspectRatio, contentMaxSize, contentMinSize, contentRectForFrameRect_styleMask, contentRectForFrameRect, contentResizeIncrements, contentView, currentEvent, dataWithEPSInsideRect, dataWithPDFInsideRect, deepestScreen, defaultDepthLimit, deminiaturize, depthLimit, deviceDescription, disableCursorRects, disableFlushWindow, disableScreenUpdatesUntilFlush, discardCachedImage, discardCursorRects, discardEventsMatchingMask_beforeEvent, display, displayIfNeeded, displaysWhenScreenProfileChanges, dockTile, enableCursorRects, enableFlushWindow, endEditingFor, fieldEditor_forObject, firstResponder, flushWindow, flushWindowIfNeeded, frame, frameAutosaveName, frameRectForContentRect_styleMask, frameRectForContentRect, graphicsContext, gState, hasDynamicDepthLimit, hasShadow, hidesOnDeactivate, ignoresMouseEvents, inLiveResize, invalidateCursorRectsForView, invalidateShadow, isAutodisplay, isDocumentEdited, isExcludedFromWindowsMenu, isFlushWindowDisabled, isKeyWindow, isMainWindow, isMiniaturized, isMovable, isMovableByWindowBackground, isOnActiveSpace, isOneShot, isOpaque, isReleasedWhenClosed, isSheet, isVisible, isZoomed, keyDown, level, makeFirstResponder, makeKeyAndOrderFront, makeKeyWindow, makeMainWindow, maxSize, menuChanged, minFrameWidthWithTitle_styleMask, miniaturize, miniwindowImage, miniwindowTitle, minSize, mouseLocationOutsideOfEventStream, nextEventMatchingMask_untilDate_inMode_dequeue, nextEventMatchingMask, orderBack, orderFront, orderFrontRegardless, orderOut, parentWindow, performClose, performMiniaturize, performZoom, postEvent_atStart, preferredBackingLocation, preservesContentDuringLiveResize, preventsApplicationTerminationWhenModal, print, removeChildWindow, removeFrameUsingName, representedFilename, representedURL, resetCursorRects, resignKeyWindow, resignMainWindow, resizeFlags, resizeIncrements, restoreCachedImage, saveFrameUsingName, screen, sendEvent, setAcceptsMouseMovedEvents, setAllowsConcurrentViewDrawing, setAllowsToolTipsWhenApplicationIsInactive, setAlphaValue, setAspectRatio, setAutodisplay, setBackgroundColor, setCanBecomeVisibleWithoutLogin, setCanBeVisibleOnAllSpaces, setCanHide, setCollectionBehavior, setColorSpace, setContentAspectRatio, setContentMaxSize, setContentMinSize, setContentResizeIncrements, setContentSize, setContentView, setDelegate, setDisplaysWhenScreenProfileChanges, setDocumentEdited, setDynamicDepthLimit, setExcludedFromWindowsMenu, setFrame_display_animate, setFrame_display, setFrameAutosaveName, setFrameFromString, setFrameUsingName_force, setFrameUsingName, setHasShadow, setHidesOnDeactivate, setIgnoresMouseEvents, setLevel, setMaxSize, setMiniwindowImage, setMiniwindowTitle, setMinSize, setMovable, setMovableByWindowBackground, setOneShot, setOpaque, setParentWindow, setPreferredBackingLocation, setPreservesContentDuringLiveResize, setPreventsApplicationTerminationWhenModal, setReleasedWhenClosed, setRepresentedFilename, setRepresentedURL, setResizeIncrements, setSharingType, setShowsResizeIndicator, setStyleMask, setTitleWithRepresentedFilename, setViewsNeedDisplay, setWindowController, sharingType, showsResizeIndicator, standardWindowButton_forStyleMask, standardWindowButton, stringWithSavedFrame, styleMask, tryToPerform_with, update, useOptimizedDrawing, userSpaceScaleFactor, validRequestorForSendType_returnType, viewsNeedDisplay, windowController, windowNumber, windowNumbersWithOptions, zoom
 
Methods inherited from class org.rococoa.cocoa.appkit.NSResponder
acceptsFirstResponder, as_NSResponder_NSErrorPresentation, as_NSResponder_NSInterfaceStyle, as_NSResponder_NSKeyboardUI, as_NSResponder_NSStandardKeyBindingMethods, as_NSResponder_NSUndoSupport, becomeFirstResponder, beginGestureWithEvent, cursorUpdate, endGestureWithEvent, flagsChanged, flushBufferedKeyEvents, helpRequested, interpretKeyEvents, keyUp, magnifyWithEvent, menu, mouseDown, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, nextResponder, noResponderFor, otherMouseDown, otherMouseDragged, otherMouseUp, performKeyEquivalent, resignFirstResponder, rightMouseDown, rightMouseDragged, rightMouseUp, rotateWithEvent, scrollWheel, setMenu, setNextResponder, shouldBeTreatedAsInkEvent, showContextHelp, swipeWithEvent, tabletPoint, tabletProximity, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesMovedWithEvent
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.cocoa.appkit.protocols.NSUserInterfaceValidations
validateUserInterfaceItem
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
encodeWithCoder, initWithCoder
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 

Constructor Detail

NSSavePanel

public NSSavePanel()
Method Detail

savePanel

public static NSSavePanel savePanel()
Creates a new instance of the NSSavePanel. This class is not a singleton.
Original signature : +(NSSavePanel*)savePanel
native declaration : NSSavePanel.h:83


URL

public abstract NSURL URL()
NSSavePanel: Returns the URL to save the file at. A file may already exist at 'URL' if the user choose to overwrite it.
NSOpenPanel: Returns the single filename selected by the user. Note: if -allowsMultipleSelection is set, you should use the -URLs on NSOpenPanel instead.
Original signature : -(NSURL*)URL
native declaration : NSSavePanel.h:91


directoryURL

public abstract NSURL directoryURL()
NSSavePanel/NSOpenPanel: Gets and sets the directoryURL shown. A value of nil indicates that the last directory shown to the user will be used.
Original signature : -(NSURL*)directoryURL
native declaration : NSSavePanel.h:98


setDirectoryURL

public abstract void setDirectoryURL(NSURL url)
Original signature : -(void)setDirectoryURL:(NSURL*)
native declaration : NSSavePanel.h:99


allowedFileTypes

public abstract NSArray allowedFileTypes()
NSSavePanel: An array of NSStrings specifying the file types the user can save the file as. The file type can be a common file extension, or a UTI. A nil value indicates that any file type can be used. If the array is not nil and the array contains no items, an exception will be raised. If no extension is given by the user, the first item in the allowedFileTypes will be used as the extension for the save panel. If the user specifies a type not in the array, and 'allowsOtherFileTypes' is YES, they will be presented with another dialog when prompted to save. The default value is 'nil'.
NSOpenPanel: On versions less than 10.6, this property is ignored. For applications that link against 10.6 and higher, this property will determine which files should be enabled in the open panel. Using the deprecated methods to show the open panel (the ones that take a "types:" parameter) will overwrite this value, and should not be used. The allowedFileTypes can be changed while the panel is running (ie: from an accessory view). The file type can be a common file extension, or a UTI. This is also known as the "enabled file types". A nil value indicates that all files should be enabled.
Original signature : -(NSArray*)allowedFileTypes
native declaration : NSSavePanel.h:105


setAllowedFileTypes

public abstract void setAllowedFileTypes(NSArray types)
Original signature : -(void)setAllowedFileTypes:(NSArray*)
native declaration : NSSavePanel.h:106


allowsOtherFileTypes

public abstract boolean allowsOtherFileTypes()
NSSavePanel: Returns a BOOL value that indicates whether the receiver allows the user to save files with an extension that's not in the list of 'allowedFileTypes'.
NSOpenPanel: Not used.
Original signature : -(BOOL)allowsOtherFileTypes
native declaration : NSSavePanel.h:111


setAllowsOtherFileTypes

public abstract void setAllowsOtherFileTypes(boolean flag)
Original signature : -(void)setAllowsOtherFileTypes:(BOOL)
native declaration : NSSavePanel.h:112


accessoryView

public abstract NSView accessoryView()
Gets and sets the accessory view shown in the panel. For applications that link on SnowLeopard and higher, the accessoryView's frame will be observed, and any changes the programmer makes to the frame will automatically be reflected in the panel (including animated changes to the frame height).
Original signature : -(NSView*)accessoryView
native declaration : NSSavePanel.h:116


setAccessoryView

public abstract void setAccessoryView(NSView view)
Original signature : -(void)setAccessoryView:(NSView*)
native declaration : NSSavePanel.h:117


delegate

public abstract NSOpenSavePanelDelegate delegate()
Gets and sets the delegate.
Original signature : -(id)delegate
native declaration : NSSavePanel.h:121

Specified by:
delegate in class NSWindow

setDelegate

public abstract void setDelegate(NSOpenSavePanelDelegate delegate)
Original signature : -(void)setDelegate:(id)
native declaration : NSSavePanel.h:122


isExpanded

public abstract boolean isExpanded()
NSSavePanel: Returns YES if the panel is expanded. Defaults to NO, and persists in the user defaults.
NSOpenPanel: Not used.
Original signature : -(BOOL)isExpanded
native declaration : NSSavePanel.h:127


canCreateDirectories

public abstract boolean canCreateDirectories()
NSSavePanel/NSOpenPanel: Set to YES to allow the "New Folder" button to be shown.
Original signature : -(BOOL)canCreateDirectories
native declaration : NSSavePanel.h:131


setCanCreateDirectories

public abstract void setCanCreateDirectories(boolean flag)
Original signature : -(void)setCanCreateDirectories:(BOOL)
native declaration : NSSavePanel.h:132


canSelectHiddenExtension

public abstract boolean canSelectHiddenExtension()
NSSavePanel: Set to YES to show the extension-hiding checkbox.
NSOpenPanel: Should not be used.
Original signature : -(BOOL)canSelectHiddenExtension
native declaration : NSSavePanel.h:137


setCanSelectHiddenExtension

public abstract void setCanSelectHiddenExtension(boolean flag)
Original signature : -(void)setCanSelectHiddenExtension:(BOOL)
native declaration : NSSavePanel.h:138


isExtensionHidden

public abstract boolean isExtensionHidden()
NSSavePanel: Set to YES if the extension-hiding checkbox should checked. The value persists in the user defaults specific for the application.
NSOpenPanel: Should not be used.
Original signature : -(BOOL)isExtensionHidden
native declaration : NSSavePanel.h:143


setExtensionHidden

public abstract void setExtensionHidden(boolean flag)
Original signature : -(void)setExtensionHidden:(BOOL)
native declaration : NSSavePanel.h:144


treatsFilePackagesAsDirectories

public abstract boolean treatsFilePackagesAsDirectories()
NSSavePanel/NSOpenPanel: If set to YES, the user can open into file packages, as though they were directories.
Original signature : -(BOOL)treatsFilePackagesAsDirectories
native declaration : NSSavePanel.h:148


setTreatsFilePackagesAsDirectories

public abstract void setTreatsFilePackagesAsDirectories(boolean flag)
Original signature : -(void)setTreatsFilePackagesAsDirectories:(BOOL)
native declaration : NSSavePanel.h:149


prompt

public abstract NSString prompt()
NSSavePanel/NSOpenPanel: Sets the text shown on the Open or Save button. If set to an empty string, it will show a localized "Open" for the NSOpenPanel and "Save" for the NSSavePanel. The default value will be the correct localized prompt for the open or save panel, as appropriate.
Original signature : -(NSString*)prompt
native declaration : NSSavePanel.h:153


setPrompt

public abstract void setPrompt(NSString prompt)
Original signature : -(void)setPrompt:(NSString*)
native declaration : NSSavePanel.h:154


title

public abstract NSString title()
NSSavePanel/NSOpenPanel: Gets and sets the title for the panel shown at the top of the window.
Original signature : -(NSString*)title
native declaration : NSSavePanel.h:158

Specified by:
title in class NSWindow

setTitle

public abstract void setTitle(NSString title)
Original signature : -(void)setTitle:(NSString*)
native declaration : NSSavePanel.h:159

Specified by:
setTitle in class NSWindow

nameFieldLabel

public abstract NSString nameFieldLabel()
NSSavePanel: Gets and sets the text shown to the left of the "name field". Default value is a localized "Save As:" string.
NSOpenPanel: Not used.
Original signature : -(NSString*)nameFieldLabel
native declaration : NSSavePanel.h:164


setNameFieldLabel

public abstract void setNameFieldLabel(NSString label)
Original signature : -(void)setNameFieldLabel:(NSString*)
native declaration : NSSavePanel.h:165


nameFieldStringValue

public abstract NSString nameFieldStringValue()
NSSavePanel: Gets and sets the user-editable file name shown in the name field. 'value' must not be nil. NOTE: calling the deprecated methods that take a "name:" parameter will overwrite any values set before the panel was shown. Note that 'value' may have the file extension stripped, if [panel isExtensionHidden] is set to YES.
NSOpenPanel: Not used.
Original signature : -(NSString*)nameFieldStringValue
native declaration : NSSavePanel.h:170


setNameFieldStringValue

public abstract void setNameFieldStringValue(NSString value)
Original signature : -(void)setNameFieldStringValue:(NSString*)
native declaration : NSSavePanel.h:171


message

public abstract NSString message()
NSSavePanel/NSOpenPanel: Gets and sets the message shown under title of the panel. 'message' must not be nil.
Original signature : -(NSString*)message
native declaration : NSSavePanel.h:175


setMessage

public abstract void setMessage(NSString message)
Original signature : -(void)setMessage:(NSString*)
native declaration : NSSavePanel.h:176


validateVisibleColumns

public abstract void validateVisibleColumns()
Original signature : -(void)validateVisibleColumns
native declaration : NSSavePanel.h:178


showsHiddenFiles

public abstract boolean showsHiddenFiles()
NSSavePanel/NSOpenPanel: If showsHiddenFiles is set to YES, files that are normally hidden from the user are displayed. This method was published in Mac OS 10.6, but has existed since Mac OS 10.4. This property is KVO compliant. The user may invoke the keyboard shortcut (cmd-shift-.) to show or hide hidden files. Any user interface shown in an an accessory view should be updated by using key value observing (KVO) to watch for changes of this property. Alternatively, the user interface can be directly bound to this property. The default value is NO.
Original signature : -(BOOL)showsHiddenFiles
native declaration : NSSavePanel.h:182


setShowsHiddenFiles

public abstract void setShowsHiddenFiles(boolean flag)
Original signature : -(void)setShowsHiddenFiles:(BOOL)
native declaration : NSSavePanel.h:183


ok

public abstract void ok(ObjCObject sender)
Original signature : -(void)ok:(id)
native declaration : NSSavePanel.h:188


cancel

public abstract void cancel(ObjCObject sender)
Original signature : -(void)cancel:(id)
native declaration : NSSavePanel.h:189


runModal

public abstract NSInteger runModal()
NSSavePanel/NSOpenPanel: Presents the panel as an application modal window. It returns only after the user has closed the panel. The return value is NSFileHandlingPanelOKButton==1 or NSFileHandlingPanelCancelButton==0.
Original signature : -(NSInteger)runModal
native declaration : NSSavePanel.h:208


alloc

public static NSSavePanel alloc()

new_

public static NSSavePanel new_()

getNSClass

public static NSSavePanel._class_ getNSClass()


Copyright © 2009. All Rights Reserved.