org.rococoa.cocoa.appkit
Class NSWindow
java.lang.Object
org.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.appkit.NSResponder
org.rococoa.cocoa.appkit.NSWindow
- All Implemented Interfaces:
- Drawers, NSCarbonExtensions, NSDrag, NSErrorPresentation, NSInterfaceStyle, NSKeyboardUI, NSStandardKeyBindingMethods, NSToolbarSupport, NSUndoSupport, NSAnimatablePropertyContainer, NSUserInterfaceValidations, ABActionDelegate, AMWorkflowControllerDelegate, IMVideoDataSource, NSAccessibility, NSAccessibilityAdditions, NSAnimationDelegate, NSApplicationScriptingDelegation, NSArchiverCallback, NSBrowserDelegate, NSClassDescriptionPrimitives, NSCoderMethods, NSColorPanelResponderMethod, NSComboBoxCellDataSource, NSComboBoxDataSource, NSComboBoxNotifications, NSComparisonMethods, NSConnectionDelegateMethods, NSControlSubclassDelegate, NSControlSubclassNotifications, NSCopyLinkMoveHandler, NSDatePickerCellDelegate, NSDelayedPerforming, NSDeprecatedKeyValueCoding, NSDeprecatedKeyValueObservingCustomization, NSDeprecatedMethods, NSDictionaryControllerKeyValuePair, NSDistantObjectRequestMethods, NSDistributedObjects, NSDraggingDestination, NSDraggingSource, NSDrawerDelegate, NSDrawerNotifications, NSEditor, NSEditorRegistration, NSErrorRecoveryAttempting, NSExceptionHandlerDelegate, NSFileManagerFileOperationAdditions, NSFontManagerDelegate, NSFontManagerResponderMethod, NSFontPanelValidationAdditions, NSImageDelegate, NSKeyedArchiverDelegate, NSKeyedArchiverObjectSubstitution, NSKeyedUnarchiverDelegate, NSKeyedUnarchiverObjectSubstitution, NSKeyValueBindingCreation, NSKeyValueCoding, NSKeyValueObserverNotification, NSKeyValueObserverRegistration, NSKeyValueObserving, NSKeyValueObservingCustomization, NSLayoutManagerDelegate, NSMenuDelegate, NSMenuValidation, NSMetadataQueryDelegate, NSNetServiceBrowserDelegateMethods, NSNetServiceDelegateMethods, NSNibAwaking, NSOutlineViewDataSource, NSOutlineViewDelegate, NSOutlineViewNotifications, NSPasteboardOwner, NSPlaceholders, NSPortDelegateMethods, NSRuleEditorDelegateMethods, NSSavePanelDelegate, NSScriptClassDescription, NSScripting, NSScriptingComparisonMethods, NSScriptKeyValueCoding, NSScriptObjectSpecifiers, NSSoundDelegateMethods, NSSpeechRecognizerDelegate, NSSpeechSynthesizerDelegate, NSSpellServerDelegate, NSSplitViewDelegate, NSStreamDelegateEventExtensions, NSTabViewDelegate, NSTextDelegate, NSTextViewDelegate, NSThreadPerformAdditions, NSTokenFieldCellDelegate, NSTokenFieldDelegate, NSToolbarDelegate, NSToolbarNotifications, NSURLClient, NSURLConnectionDelegate, NSURLDownloadDelegate, NSWindowDelegate, NSWindowNotifications, NSXMLParserDelegateEventAdditions, QTCaptureDecompressedVideoOutputDelegate, QTCaptureFileOutputDelegate, QTCaptureVideoPreviewOutputDelegate, QTCaptureViewDelegate, QTMovieDelegate, QTMovieViewDelegate, SFAuthorizationViewDelegate, SFCertificatePanelDelegate, SFChooseIdentityPanelDelegate, WebDownloadDelegate, WebFrameLoadDelegate, WebJavaPlugIn, WebPlugIn, WebPlugInContainer, WebPolicyDelegate, WebResourceLoadDelegate, WebScripting, WebUIDelegate, WebViewEditingDelegate, NSCoding, NSObject
- Direct Known Subclasses:
- NSPanel
public abstract class NSWindow
- extends NSResponder
- implements NSDrag, NSKeyboardUI, NSScripting, NSToolbarSupport, NSCarbonExtensions, Drawers, NSAnimatablePropertyContainer, NSUserInterfaceValidations
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 classes/interfaces inherited from interface org.rococoa.cocoa.appkit.categories.NSDrag |
NSDrag._static_ |
Method Summary |
abstract boolean |
acceptsMouseMovedEvents()
|
static NSWindow |
alloc()
|
abstract boolean |
allowsToolTipsWhenApplicationIsInactive()
|
abstract float |
alphaValue()
|
abstract NSObject |
animationResizeTime(NSRect.ByValue newFrame)
newFrame is the rect passed into setFrame:display:animate:
Original signature : -(id)animationResizeTime:(NSRect) |
abstract boolean |
areCursorRectsEnabled()
|
abstract NSSize.ByValue |
aspectRatio()
|
abstract NSWindow |
attachedSheet()
|
abstract NSColor |
backgroundColor()
|
abstract int |
backingLocation()
-backingLocation gets the current location of the window backing store. |
abstract NSObject |
backingType()
|
abstract void |
becomeKeyWindow()
|
abstract void |
becomeMainWindow()
|
abstract void |
cacheImageInRect(NSRect.ByValue aRect)
|
abstract boolean |
canBecomeKeyWindow()
|
abstract boolean |
canBecomeMainWindow()
|
abstract boolean |
canBecomeVisibleWithoutLogin()
This API controls whether the receiver is permitted onscreen before the user has logged in. |
abstract boolean |
canBeVisibleOnAllSpaces()
-setCanBeVisibleOnAllSpaces: controls whether a window can be visible on all spaces (YES) or is associated with one space at a time (NO). |
abstract boolean |
canHide()
|
abstract boolean |
canStoreColor()
|
abstract void |
center()
|
abstract NSArray |
childWindows()
|
abstract void |
close()
|
abstract int |
collectionBehavior()
|
abstract NSRect.ByValue |
constrainFrameRect_toScreen(NSRect.ByValue frameRect,
NSScreen screen)
|
abstract NSSize.ByValue |
contentAspectRatio()
|
abstract NSSize.ByValue |
contentMaxSize()
|
abstract NSSize.ByValue |
contentMinSize()
|
static NSRect.ByValue |
contentRectForFrameRect_styleMask(NSRect.ByValue fRect,
int aStyle)
|
abstract NSRect.ByValue |
contentRectForFrameRect(NSRect.ByValue frameRect)
|
abstract NSSize.ByValue |
contentResizeIncrements()
|
abstract NSObject |
contentView()
|
abstract NSEvent |
currentEvent()
|
abstract NSData |
dataWithEPSInsideRect(NSRect.ByValue rect)
|
abstract NSData |
dataWithPDFInsideRect(NSRect.ByValue rect)
|
abstract NSScreen |
deepestScreen()
|
static NSObject |
defaultDepthLimit()
|
abstract NSObject |
delegate()
|
abstract void |
deminiaturize(org.rococoa.ID sender)
|
abstract NSObject |
depthLimit()
|
abstract NSDictionary |
deviceDescription()
|
abstract void |
disableCursorRects()
|
abstract void |
disableFlushWindow()
|
abstract void |
disableScreenUpdatesUntilFlush()
|
abstract void |
discardCachedImage()
|
abstract void |
discardCursorRects()
|
abstract void |
discardEventsMatchingMask_beforeEvent(int mask,
NSEvent lastEvent)
|
abstract void |
display()
|
abstract void |
displayIfNeeded()
|
abstract boolean |
displaysWhenScreenProfileChanges()
|
abstract NSDockTile |
dockTile()
|
abstract void |
enableCursorRects()
|
abstract void |
enableFlushWindow()
|
abstract void |
endEditingFor(org.rococoa.ID anObject)
|
abstract NSText |
fieldEditor_forObject(boolean createFlag,
org.rococoa.ID anObject)
|
abstract NSResponder |
firstResponder()
|
abstract void |
flushWindow()
|
abstract void |
flushWindowIfNeeded()
|
abstract NSRect.ByValue |
frame()
|
abstract NSString |
frameAutosaveName()
|
static NSRect.ByValue |
frameRectForContentRect_styleMask(NSRect.ByValue cRect,
int aStyle)
|
abstract NSRect.ByValue |
frameRectForContentRect(NSRect.ByValue contentRect)
|
abstract NSGraphicsContext |
graphicsContext()
Returns NSGraphicsContext used to render the receiver's content on the screen for the calling thread. |
abstract int |
gState()
|
abstract boolean |
hasDynamicDepthLimit()
|
abstract boolean |
hasShadow()
|
abstract boolean |
hidesOnDeactivate()
|
abstract boolean |
ignoresMouseEvents()
|
abstract void |
invalidateCursorRectsForView(NSView aView)
|
abstract void |
invalidateShadow()
|
abstract boolean |
isAutodisplay()
|
abstract boolean |
isDocumentEdited()
|
abstract boolean |
isExcludedFromWindowsMenu()
|
abstract boolean |
isFlushWindowDisabled()
|
abstract boolean |
isKeyWindow()
|
abstract boolean |
isMainWindow()
|
abstract boolean |
isMiniaturized()
|
abstract boolean |
isMovableByWindowBackground()
|
abstract boolean |
isOneShot()
|
abstract boolean |
isOpaque()
|
abstract boolean |
isReleasedWhenClosed()
|
abstract boolean |
isSheet()
|
abstract boolean |
isVisible()
|
abstract boolean |
isZoomed()
|
abstract void |
keyDown(NSEvent theEvent)
|
abstract int |
level()
|
abstract boolean |
makeFirstResponder(NSResponder aResponder)
|
abstract void |
makeKeyAndOrderFront(org.rococoa.ID sender)
|
abstract void |
makeKeyWindow()
|
abstract void |
makeMainWindow()
|
abstract NSSize.ByValue |
maxSize()
|
static void |
menuChanged(NSMenu menu)
|
static float |
minFrameWidthWithTitle_styleMask(NSString aTitle,
int aStyle)
|
abstract void |
miniaturize(org.rococoa.ID sender)
|
abstract NSImage |
miniwindowImage()
|
abstract NSString |
miniwindowTitle()
|
abstract NSSize.ByValue |
minSize()
|
abstract NSObject |
mouseLocationOutsideOfEventStream()
|
abstract NSEvent |
nextEventMatchingMask_untilDate_inMode_dequeue(int mask,
NSDate expiration,
NSString mode,
boolean deqFlag)
|
abstract NSEvent |
nextEventMatchingMask(int mask)
|
abstract void |
orderBack(org.rococoa.ID sender)
|
abstract void |
orderFront(org.rococoa.ID sender)
|
abstract void |
orderFrontRegardless()
|
abstract void |
orderOut(org.rococoa.ID sender)
|
abstract NSWindow |
parentWindow()
|
abstract void |
performClose(org.rococoa.ID sender)
|
abstract void |
performMiniaturize(org.rococoa.ID sender)
|
abstract void |
performZoom(org.rococoa.ID sender)
|
abstract void |
postEvent_atStart(NSEvent event,
boolean flag)
|
abstract int |
preferredBackingLocation()
-preferredBackingLocation gets the preferred location for the window backing store. |
abstract boolean |
preservesContentDuringLiveResize()
|
abstract void |
print(org.rococoa.ID sender)
|
abstract void |
removeChildWindow(NSWindow childWin)
|
static void |
removeFrameUsingName(NSString name)
|
abstract NSString |
representedFilename()
|
abstract NSURL |
representedURL()
|
abstract void |
resetCursorRects()
|
abstract void |
resignKeyWindow()
|
abstract void |
resignMainWindow()
|
abstract int |
resizeFlags()
|
abstract NSSize.ByValue |
resizeIncrements()
|
abstract void |
restoreCachedImage()
|
abstract void |
saveFrameUsingName(NSString name)
|
abstract NSScreen |
screen()
|
abstract void |
sendEvent(NSEvent theEvent)
|
abstract void |
setAcceptsMouseMovedEvents(boolean flag)
|
abstract void |
setAllowsToolTipsWhenApplicationIsInactive(boolean allowWhenInactive)
|
abstract void |
setAlphaValue(float windowAlpha)
|
abstract void |
setAspectRatio(NSSize.ByValue ratio)
|
abstract void |
setAutodisplay(boolean flag)
|
abstract void |
setBackgroundColor(NSColor color)
|
abstract void |
setCanBecomeVisibleWithoutLogin(boolean flag)
|
abstract void |
setCanBeVisibleOnAllSpaces(boolean flag)
|
abstract void |
setCanHide(boolean flag)
indicate whether a window can be hidden during -[NSApplication hide:]. |
abstract void |
setCollectionBehavior(int behavior)
|
abstract void |
setContentAspectRatio(NSSize.ByValue ratio)
|
abstract void |
setContentMaxSize(NSSize.ByValue size)
|
abstract void |
setContentMinSize(NSSize.ByValue size)
|
abstract void |
setContentResizeIncrements(NSSize.ByValue increments)
|
abstract void |
setContentSize(NSSize.ByValue aSize)
|
abstract void |
setContentView(NSView aView)
|
abstract void |
setDelegate(org.rococoa.ID anObject)
|
abstract void |
setDisplaysWhenScreenProfileChanges(boolean flag)
|
abstract void |
setDocumentEdited(boolean flag)
|
abstract void |
setDynamicDepthLimit(boolean flag)
|
abstract void |
setExcludedFromWindowsMenu(boolean flag)
|
abstract void |
setFrame_display_animate(NSRect.ByValue frameRect,
boolean displayFlag,
boolean animateFlag)
If animationFlag is YES, this method will perform a smooth resize of the window, where the total time for the resize is specified by -animationResizeTime:
Original signature : -(void)setFrame:(NSRect) display:(BOOL) animate:(BOOL) |
abstract void |
setFrame_display(NSRect.ByValue frameRect,
boolean flag)
|
abstract boolean |
setFrameAutosaveName(NSString name)
|
abstract void |
setFrameFromString(NSString string)
|
abstract boolean |
setFrameUsingName_force(NSString name,
boolean force)
Set force=YES to use setFrameUsingName on a non-resizable window
Original signature : -(BOOL)setFrameUsingName:(NSString*) force:(BOOL) |
abstract boolean |
setFrameUsingName(NSString name)
|
abstract void |
setHasShadow(boolean hasShadow)
|
abstract void |
setHidesOnDeactivate(boolean flag)
|
abstract void |
setIgnoresMouseEvents(boolean flag)
|
abstract void |
setLevel(int newLevel)
|
abstract void |
setMaxSize(NSSize.ByValue size)
|
abstract void |
setMiniwindowImage(NSImage image)
|
abstract void |
setMiniwindowTitle(NSString title)
|
abstract void |
setMinSize(NSSize.ByValue size)
|
abstract void |
setMovableByWindowBackground(boolean flag)
|
abstract void |
setOneShot(boolean flag)
|
abstract void |
setOpaque(boolean isOpaque)
|
abstract void |
setParentWindow(NSWindow window)
|
abstract void |
setPreferredBackingLocation(int backingLocation)
-setPreferredBackingLocation: sets the preferred location for the window backing store. |
abstract void |
setPreservesContentDuringLiveResize(boolean flag)
|
abstract void |
setReleasedWhenClosed(boolean flag)
|
abstract void |
setRepresentedFilename(NSString aString)
|
abstract void |
setRepresentedURL(NSURL url)
setRepresentedURL:
If url is not nil and its path is not empty, the window will show a document icon in the titlebar. |
abstract void |
setResizeIncrements(NSSize.ByValue increments)
|
abstract void |
setSharingType(int type)
-setSharingType: specifies whether the window content can be read and/or written from another process. |
abstract void |
setShowsResizeIndicator(boolean show)
show/hide resize corner (does not affect whether window is resizable)
Original signature : -(void)setShowsResizeIndicator:(BOOL) |
abstract void |
setTitle(NSString aString)
|
abstract void |
setTitleWithRepresentedFilename(NSString filename)
|
abstract void |
setViewsNeedDisplay(boolean flag)
|
abstract void |
setWindowController(NSWindowController windowController)
|
abstract int |
sharingType()
|
abstract boolean |
showsResizeIndicator()
|
static NSButton |
standardWindowButton_forStyleMask(int b,
int styleMask)
Original signature : +(NSButton*)standardWindowButton:(NSWindowButton) forStyleMask:(NSUInteger)
|
abstract NSButton |
standardWindowButton(int b)
Original signature : -(NSButton*)standardWindowButton:(NSWindowButton)
|
abstract NSString |
stringWithSavedFrame()
|
abstract int |
styleMask()
|
abstract NSString |
title()
|
abstract boolean |
tryToPerform_with(org.rococoa.Selector anAction,
org.rococoa.ID anObject)
|
abstract void |
update()
|
abstract void |
useOptimizedDrawing(boolean flag)
|
abstract float |
userSpaceScaleFactor()
Returns scale factor applied to view coordinate system to get to base coordinate system of window
Original signature : -(CGFloat)userSpaceScaleFactor |
abstract NSObject |
validRequestorForSendType_returnType(NSString sendType,
NSString returnType)
|
abstract boolean |
viewsNeedDisplay()
|
abstract NSObject |
windowController()
|
abstract int |
windowNumber()
|
abstract boolean |
worksWhenModal()
|
abstract void |
zoom(org.rococoa.ID sender)
|
Methods inherited from class org.rococoa.cocoa.appkit.NSResponder |
acceptsFirstResponder, becomeFirstResponder, cursorUpdate, flagsChanged, flushBufferedKeyEvents, helpRequested, interpretKeyEvents, keyUp, menu, mouseDown, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, nextResponder, noResponderFor, otherMouseDown, otherMouseDragged, otherMouseUp, performKeyEquivalent, resignFirstResponder, rightMouseDown, rightMouseDragged, rightMouseUp, scrollWheel, setMenu, setNextResponder, shouldBeTreatedAsInkEvent, showContextHelp, tabletPoint, tabletProximity |
Methods inherited from class org.rococoa.cocoa.foundation.NSObject |
copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardInvocation, id, init, isKindOfClass, isKindOfClass, methodSignatureForSelector, mutableCopy, release, retain, retainCount |
Methods inherited from interface org.rococoa.cocoa.appkit.categories.Drawers |
drawers |
Methods inherited from interface org.rococoa.cocoa.appkit.categories.NSStandardKeyBindingMethods |
cancelOperation, capitalizeWord, centerSelectionInVisibleArea, changeCaseOfLetter, complete, deleteBackward, deleteBackwardByDecomposingPreviousCharacter, deleteForward, deleteToBeginningOfLine, deleteToBeginningOfParagraph, deleteToEndOfLine, deleteToEndOfParagraph, deleteToMark, deleteWordBackward, deleteWordForward, doCommandBySelector, indent, insertBacktab, insertContainerBreak, insertLineBreak, insertNewline, insertNewlineIgnoringFieldEditor, insertParagraphSeparator, insertTab, insertTabIgnoringFieldEditor, insertText, lowercaseWord, moveBackward, moveBackwardAndModifySelection, moveDown, moveDownAndModifySelection, moveForward, moveForwardAndModifySelection, moveLeft, moveLeftAndModifySelection, moveRight, moveRightAndModifySelection, moveToBeginningOfDocument, moveToBeginningOfLine, moveToBeginningOfParagraph, moveToEndOfDocument, moveToEndOfLine, moveToEndOfParagraph, moveUp, moveUpAndModifySelection, moveWordBackward, moveWordBackwardAndModifySelection, moveWordForward, moveWordForwardAndModifySelection, moveWordLeft, moveWordLeftAndModifySelection, moveWordRight, moveWordRightAndModifySelection, pageDown, pageUp, scrollLineDown, scrollLineUp, scrollPageDown, scrollPageUp, selectAll, selectLine, selectParagraph, selectToMark, selectWord, setMark, swapWithMark, transpose, transposeWords, uppercaseWord, yank |
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
autorelease, class_, conformsToProtocol, hash, isEqual, isKindOfClass, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebUIDelegate |
webView_contextMenuItemsForElement_defaultMenuItems, webView_createWebViewModalDialogWithRequest, webView_createWebViewWithRequest, webView_dragDestinationActionMaskForDraggingInfo, webView_dragDestinationActionMaskForDraggingInfo, webView_makeFirstResponder, webView_mouseDidMoveOverElement_modifierFlags, webView_printFrameView, webView_runBeforeUnloadConfirmPanelWithMessage_initiatedByFrame, webView_runJavaScriptAlertPanelWithMessage_initiatedByFrame, webView_runJavaScriptAlertPanelWithMessage, webView_runJavaScriptConfirmPanelWithMessage_initiatedByFrame, webView_runJavaScriptConfirmPanelWithMessage, webView_runJavaScriptTextInputPanelWithPrompt_defaultText_initiatedByFrame, webView_runJavaScriptTextInputPanelWithPrompt_defaultText, webView_runOpenPanelForFileButtonWithResultListener, webView_runOpenPanelForFileButtonWithResultListener, webView_setResizable, webView_setStatusBarVisible, webView_setStatusText, webView_setToolbarsVisible, webView_shouldPerformAction_fromSender, webView_validateUserInterfaceItem_defaultValidation, webView_validateUserInterfaceItem_defaultValidation, webView_willPerformDragDestinationAction_forDraggingInfo, webView_willPerformDragDestinationAction_forDraggingInfo, webViewAreToolbarsVisible, webViewClose, webViewContentRect, webViewFirstResponder, webViewFocus, webViewFooterHeight, webViewFrame, webViewHeaderHeight, webViewIsResizable, webViewIsStatusBarVisible, webViewRunModal, webViewShow, webViewStatusText, webViewUnfocus |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSBrowserDelegate |
browser_acceptDrop_atRow_column_dropOperation, browser_acceptDrop_atRow_column_dropOperation, browser_canDragRowsWithIndexes_inColumn_withEvent, browser_createRowsForColumn_inMatrix, browser_isColumnValid, browser_namesOfPromisedFilesDroppedAtDestination_forDraggedRowsWithIndexes_inColumn, browser_nextTypeSelectMatchFromRow_toRow_inColumn_forString, browser_numberOfRowsInColumn, browser_selectCellWithString_inColumn, browser_selectRow_inColumn, browser_shouldShowCellExpansionForRow_column, browser_shouldSizeColumn_forUserResize_toWidth, browser_shouldTypeSelectForEvent_withCurrentSearchString, browser_sizeToFitWidthOfColumn, browser_titleOfColumn, browser_typeSelectStringForRow_inColumn, browser_validateDrop_proposedRow_column_dropOperation, browser_validateDrop_proposedRow_column_dropOperation, browser_willDisplayCell_atRow_column, browser_writeRowsWithIndexes_inColumn_toPasteboard, browserColumnConfigurationDidChange, browserDidScroll, browserWillScroll |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyValueCoding |
dictionaryWithValuesForKeys, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, setNilValueForKey, setValue_forKey, setValue_forKeyPath, setValue_forUndefinedKey, setValuesForKeysWithDictionary, validateValue_forKey_error, validateValue_forKeyPath_error, valueForKey, valueForKeyPath, valueForUndefinedKey |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSOutlineViewDelegate |
outlineView_dataCellForTableColumn_item, outlineView_didClickTableColumn, outlineView_didDragTableColumn, outlineView_heightOfRowByItem, outlineView_isGroupItem, outlineView_mouseDownInHeaderOfTableColumn, outlineView_nextTypeSelectMatchFromItem_toItem_forString, outlineView_selectionIndexesForProposedSelection, outlineView_shouldCollapseItem, outlineView_shouldEditTableColumn_item, outlineView_shouldExpandItem, outlineView_shouldSelectItem, outlineView_shouldSelectTableColumn, outlineView_shouldShowCellExpansionForTableColumn_item, outlineView_shouldTrackCell_forTableColumn_item, outlineView_shouldTypeSelectForEvent_withCurrentSearchString, outlineView_typeSelectStringForTableColumn_item, outlineView_willDisplayCell_forTableColumn_item, outlineView_willDisplayOutlineCell_forTableColumn_item, selectionShouldChangeInOutlineView |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebViewEditingDelegate |
undoManagerForWebView, webView_doCommandBySelector, webView_shouldApplyStyle_toElementsInDOMRange, webView_shouldBeginEditingInDOMRange, webView_shouldChangeTypingStyle_toStyle, webView_shouldDeleteDOMRange, webView_shouldEndEditingInDOMRange, webView_shouldInsertNode_replacingDOMRange_givenAction, webView_shouldInsertText_replacingDOMRange_givenAction, webViewDidBeginEditing, webViewDidChange, webViewDidChangeSelection, webViewDidChangeTypingStyle, webViewDidEndEditing |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebFrameLoadDelegate |
webView_didCancelClientRedirectForFrame, webView_didChangeLocationWithinPageForFrame, webView_didClearWindowObject_forFrame, webView_didCommitLoadForFrame, webView_didFailLoadWithError_forFrame, webView_didFailProvisionalLoadWithError_forFrame, webView_didFinishLoadForFrame, webView_didReceiveIcon_forFrame, webView_didReceiveServerRedirectForProvisionalLoadForFrame, webView_didReceiveTitle_forFrame, webView_didStartProvisionalLoadForFrame, webView_willCloseFrame, webView_windowScriptObjectAvailable |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTokenFieldDelegate |
tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenField_displayStringForRepresentedObject, tokenField_editingStringForRepresentedObject, tokenField_hasMenuForRepresentedObject, tokenField_menuForRepresentedObject, tokenField_readFromPasteboard, tokenField_representedObjectForEditingString, tokenField_shouldAddObjects_atIndex, tokenField_styleForRepresentedObject, tokenField_writeRepresentedObjects_toPasteboard |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSXMLParserDelegateEventAdditions |
parser_didEndElement_namespaceURI_qualifiedName, parser_didEndMappingPrefix, parser_didStartElement_namespaceURI_qualifiedName_attributes, parser_didStartMappingPrefix_toURI, parser_foundAttributeDeclarationWithName_forElement_type_defaultValue, parser_foundCDATA, parser_foundCharacters, parser_foundComment, parser_foundElementDeclarationWithName_model, parser_foundExternalEntityDeclarationWithName_publicID_systemID, parser_foundIgnorableWhitespace, parser_foundInternalEntityDeclarationWithName_value, parser_foundNotationDeclarationWithName_publicID_systemID, parser_foundProcessingInstructionWithTarget_data, parser_foundUnparsedEntityDeclarationWithName_publicID_systemID_notationName, parser_parseErrorOccurred, parser_resolveExternalEntityName_systemID, parser_validationErrorOccurred, parserDidEndDocument, parserDidStartDocument |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDraggingDestination |
concludeDragOperation, concludeDragOperation, draggingEnded, draggingEnded, draggingEntered, draggingEntered, draggingExited, draggingExited, draggingUpdated, draggingUpdated, performDragOperation, performDragOperation, prepareForDragOperation, prepareForDragOperation, wantsPeriodicDraggingUpdates |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSOutlineViewDataSource |
outlineView_acceptDrop_item_childIndex, outlineView_acceptDrop_item_childIndex, outlineView_child_ofItem, outlineView_isItemExpandable, outlineView_itemForPersistentObject, outlineView_namesOfPromisedFilesDroppedAtDestination_forDraggedItems, outlineView_numberOfChildrenOfItem, outlineView_objectValueForTableColumn_byItem, outlineView_persistentObjectForItem, outlineView_setObjectValue_forTableColumn_byItem, outlineView_sortDescriptorsDidChange, outlineView_validateDrop_proposedItem_proposedChildIndex, outlineView_validateDrop_proposedItem_proposedChildIndex, outlineView_writeItems_toPasteboard |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSURLDownloadDelegate |
download_decideDestinationWithSuggestedFilename, download_didCancelAuthenticationChallenge, download_didCreateDestination, download_didFailWithError, download_didReceiveAuthenticationChallenge, download_didReceiveDataOfLength, download_didReceiveResponse, download_shouldDecodeSourceDataOfMIMEType, download_willResumeWithResponse_fromByte, download_willSendRequest_redirectResponse, downloadDidBegin, downloadDidFinish |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSAccessibility |
accessibilityActionDescription, accessibilityActionNames, accessibilityAttributeNames, accessibilityAttributeValue_forParameter, accessibilityAttributeValue, accessibilityFocusedUIElement, accessibilityIsAttributeSettable, accessibilityIsIgnored, accessibilityParameterizedAttributeNames, accessibilityPerformAction, accessibilitySetValue_forAttribute |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTextViewDelegate |
textView_clickedOnLink_atIndex, textView_clickedOnLink, textView_doCommandBySelector, textView_menu_forEvent_atIndex, textView_shouldChangeTextInRanges_replacementStrings, textView_shouldChangeTypingAttributes_toAttributes, textView_willChangeSelectionFromCharacterRanges_toCharacterRanges, textView_willDisplayToolTip_forCharacterAtIndex, textView_writablePasteboardTypesForCell_atIndex, textView_writablePasteboardTypesForCell_atIndex, textView_writeCell_atIndex_toPasteboard_type, textView_writeCell_atIndex_toPasteboard_type, textViewDidChangeSelection, textViewDidChangeTypingAttributes, undoManagerForTextView |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTokenFieldCellDelegate |
tokenFieldCell_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenFieldCell_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenFieldCell_displayStringForRepresentedObject, tokenFieldCell_editingStringForRepresentedObject, tokenFieldCell_hasMenuForRepresentedObject, tokenFieldCell_menuForRepresentedObject, tokenFieldCell_readFromPasteboard, tokenFieldCell_representedObjectForEditingString, tokenFieldCell_shouldAddObjects_atIndex, tokenFieldCell_styleForRepresentedObject, tokenFieldCell_writeRepresentedObjects_toPasteboard |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSWindowNotifications |
windowDidBecomeKey, windowDidBecomeMain, windowDidChangeScreen, windowDidChangeScreenProfile, windowDidDeminiaturize, windowDidEndSheet, windowDidExpose, windowDidMiniaturize, windowDidMove, windowDidResignKey, windowDidResignMain, windowDidResize, windowDidUpdate, windowWillBeginSheet, windowWillClose, windowWillMiniaturize, windowWillMove |
NSWindow
public NSWindow()
frameRectForContentRect_styleMask
public static NSRect.ByValue frameRectForContentRect_styleMask(NSRect.ByValue cRect,
int aStyle)
contentRectForFrameRect_styleMask
public static NSRect.ByValue contentRectForFrameRect_styleMask(NSRect.ByValue fRect,
int aStyle)
minFrameWidthWithTitle_styleMask
public static float minFrameWidthWithTitle_styleMask(NSString aTitle,
int aStyle)
defaultDepthLimit
public static NSObject defaultDepthLimit()
frameRectForContentRect
public abstract NSRect.ByValue frameRectForContentRect(NSRect.ByValue contentRect)
contentRectForFrameRect
public abstract NSRect.ByValue contentRectForFrameRect(NSRect.ByValue frameRect)
title
public abstract NSString title()
setTitle
public abstract void setTitle(NSString aString)
setRepresentedURL
public abstract void setRepresentedURL(NSURL url)
- setRepresentedURL:
If url is not nil and its path is not empty, the window will show a document icon in the titlebar.
If the url represents a filename or other resource with a known icon, that icon will be used as the document icon. Otherwise the default document icon will be used. The icon can be customized using [[NSWindow standardWindowButton:NSWindowDocumentIconButton] setImage:customImage]. If url is not nil and its path is not empty, the window will have a pop-up menu which can be shown via command-click on the area containing the document icon and title. By default, this menu will display the path components of the url. The presence and contents of this menu can be controlled by the delegate method window:shouldPopUpDocumentPathMenu:If the url is nil or has an empty path, the window will not show a document icon and will not have a pop-up menu available via command-click.
Original signature : -(void)setRepresentedURL:(NSURL*)
representedURL
public abstract NSURL representedURL()
representedFilename
public abstract NSString representedFilename()
setRepresentedFilename
public abstract void setRepresentedFilename(NSString aString)
setTitleWithRepresentedFilename
public abstract void setTitleWithRepresentedFilename(NSString filename)
setExcludedFromWindowsMenu
public abstract void setExcludedFromWindowsMenu(boolean flag)
isExcludedFromWindowsMenu
public abstract boolean isExcludedFromWindowsMenu()
setContentView
public abstract void setContentView(NSView aView)
contentView
public abstract NSObject contentView()
setDelegate
public abstract void setDelegate(org.rococoa.ID anObject)
delegate
public abstract NSObject delegate()
windowNumber
public abstract int windowNumber()
styleMask
public abstract int styleMask()
fieldEditor_forObject
public abstract NSText fieldEditor_forObject(boolean createFlag,
org.rococoa.ID anObject)
endEditingFor
public abstract void endEditingFor(org.rococoa.ID anObject)
constrainFrameRect_toScreen
public abstract NSRect.ByValue constrainFrameRect_toScreen(NSRect.ByValue frameRect,
NSScreen screen)
setFrame_display
public abstract void setFrame_display(NSRect.ByValue frameRect,
boolean flag)
setContentSize
public abstract void setContentSize(NSSize.ByValue aSize)
frame
public abstract NSRect.ByValue frame()
animationResizeTime
public abstract NSObject animationResizeTime(NSRect.ByValue newFrame)
- newFrame is the rect passed into setFrame:display:animate:
Original signature : -(id)animationResizeTime:(NSRect)
setFrame_display_animate
public abstract void setFrame_display_animate(NSRect.ByValue frameRect,
boolean displayFlag,
boolean animateFlag)
- If animationFlag is YES, this method will perform a smooth resize of the window, where the total time for the resize is specified by -animationResizeTime:
Original signature : -(void)setFrame:(NSRect) display:(BOOL) animate:(BOOL)
setShowsResizeIndicator
public abstract void setShowsResizeIndicator(boolean show)
- show/hide resize corner (does not affect whether window is resizable)
Original signature : -(void)setShowsResizeIndicator:(BOOL)
showsResizeIndicator
public abstract boolean showsResizeIndicator()
setResizeIncrements
public abstract void setResizeIncrements(NSSize.ByValue increments)
resizeIncrements
public abstract NSSize.ByValue resizeIncrements()
setAspectRatio
public abstract void setAspectRatio(NSSize.ByValue ratio)
aspectRatio
public abstract NSSize.ByValue aspectRatio()
setContentResizeIncrements
public abstract void setContentResizeIncrements(NSSize.ByValue increments)
contentResizeIncrements
public abstract NSSize.ByValue contentResizeIncrements()
setContentAspectRatio
public abstract void setContentAspectRatio(NSSize.ByValue ratio)
contentAspectRatio
public abstract NSSize.ByValue contentAspectRatio()
useOptimizedDrawing
public abstract void useOptimizedDrawing(boolean flag)
disableFlushWindow
public abstract void disableFlushWindow()
enableFlushWindow
public abstract void enableFlushWindow()
isFlushWindowDisabled
public abstract boolean isFlushWindowDisabled()
flushWindow
public abstract void flushWindow()
flushWindowIfNeeded
public abstract void flushWindowIfNeeded()
setViewsNeedDisplay
public abstract void setViewsNeedDisplay(boolean flag)
viewsNeedDisplay
public abstract boolean viewsNeedDisplay()
displayIfNeeded
public abstract void displayIfNeeded()
display
public abstract void display()
setAutodisplay
public abstract void setAutodisplay(boolean flag)
isAutodisplay
public abstract boolean isAutodisplay()
preservesContentDuringLiveResize
public abstract boolean preservesContentDuringLiveResize()
setPreservesContentDuringLiveResize
public abstract void setPreservesContentDuringLiveResize(boolean flag)
update
public abstract void update()
makeFirstResponder
public abstract boolean makeFirstResponder(NSResponder aResponder)
firstResponder
public abstract NSResponder firstResponder()
resizeFlags
public abstract int resizeFlags()
keyDown
public abstract void keyDown(NSEvent theEvent)
- Specified by:
keyDown
in class NSResponder
close
public abstract void close()
setReleasedWhenClosed
public abstract void setReleasedWhenClosed(boolean flag)
isReleasedWhenClosed
public abstract boolean isReleasedWhenClosed()
miniaturize
public abstract void miniaturize(org.rococoa.ID sender)
deminiaturize
public abstract void deminiaturize(org.rococoa.ID sender)
isZoomed
public abstract boolean isZoomed()
zoom
public abstract void zoom(org.rococoa.ID sender)
isMiniaturized
public abstract boolean isMiniaturized()
tryToPerform_with
public abstract boolean tryToPerform_with(org.rococoa.Selector anAction,
org.rococoa.ID anObject)
- Specified by:
tryToPerform_with
in class NSResponder
validRequestorForSendType_returnType
public abstract NSObject validRequestorForSendType_returnType(NSString sendType,
NSString returnType)
- Specified by:
validRequestorForSendType_returnType
in class NSResponder
setBackgroundColor
public abstract void setBackgroundColor(NSColor color)
backgroundColor
public abstract NSColor backgroundColor()
setMovableByWindowBackground
public abstract void setMovableByWindowBackground(boolean flag)
isMovableByWindowBackground
public abstract boolean isMovableByWindowBackground()
setHidesOnDeactivate
public abstract void setHidesOnDeactivate(boolean flag)
hidesOnDeactivate
public abstract boolean hidesOnDeactivate()
setCanHide
public abstract void setCanHide(boolean flag)
- indicate whether a window can be hidden during -[NSApplication hide:]. Default is YES
Original signature : -(void)setCanHide:(BOOL)
canHide
public abstract boolean canHide()
center
public abstract void center()
makeKeyAndOrderFront
public abstract void makeKeyAndOrderFront(org.rococoa.ID sender)
orderFront
public abstract void orderFront(org.rococoa.ID sender)
orderBack
public abstract void orderBack(org.rococoa.ID sender)
orderOut
public abstract void orderOut(org.rococoa.ID sender)
orderFrontRegardless
public abstract void orderFrontRegardless()
setMiniwindowImage
public abstract void setMiniwindowImage(NSImage image)
setMiniwindowTitle
public abstract void setMiniwindowTitle(NSString title)
miniwindowImage
public abstract NSImage miniwindowImage()
miniwindowTitle
public abstract NSString miniwindowTitle()
dockTile
public abstract NSDockTile dockTile()
setDocumentEdited
public abstract void setDocumentEdited(boolean flag)
isDocumentEdited
public abstract boolean isDocumentEdited()
isVisible
public abstract boolean isVisible()
isKeyWindow
public abstract boolean isKeyWindow()
isMainWindow
public abstract boolean isMainWindow()
canBecomeKeyWindow
public abstract boolean canBecomeKeyWindow()
canBecomeMainWindow
public abstract boolean canBecomeMainWindow()
makeKeyWindow
public abstract void makeKeyWindow()
makeMainWindow
public abstract void makeMainWindow()
becomeKeyWindow
public abstract void becomeKeyWindow()
resignKeyWindow
public abstract void resignKeyWindow()
becomeMainWindow
public abstract void becomeMainWindow()
resignMainWindow
public abstract void resignMainWindow()
worksWhenModal
public abstract boolean worksWhenModal()
performClose
public abstract void performClose(org.rococoa.ID sender)
performMiniaturize
public abstract void performMiniaturize(org.rococoa.ID sender)
performZoom
public abstract void performZoom(org.rococoa.ID sender)
gState
public abstract int gState()
setOneShot
public abstract void setOneShot(boolean flag)
isOneShot
public abstract boolean isOneShot()
dataWithEPSInsideRect
public abstract NSData dataWithEPSInsideRect(NSRect.ByValue rect)
dataWithPDFInsideRect
public abstract NSData dataWithPDFInsideRect(NSRect.ByValue rect)
print
public abstract void print(org.rococoa.ID sender)
disableCursorRects
public abstract void disableCursorRects()
enableCursorRects
public abstract void enableCursorRects()
discardCursorRects
public abstract void discardCursorRects()
areCursorRectsEnabled
public abstract boolean areCursorRectsEnabled()
invalidateCursorRectsForView
public abstract void invalidateCursorRectsForView(NSView aView)
resetCursorRects
public abstract void resetCursorRects()
setAllowsToolTipsWhenApplicationIsInactive
public abstract void setAllowsToolTipsWhenApplicationIsInactive(boolean allowWhenInactive)
allowsToolTipsWhenApplicationIsInactive
public abstract boolean allowsToolTipsWhenApplicationIsInactive()
backingType
public abstract NSObject backingType()
setLevel
public abstract void setLevel(int newLevel)
level
public abstract int level()
depthLimit
public abstract NSObject depthLimit()
setDynamicDepthLimit
public abstract void setDynamicDepthLimit(boolean flag)
hasDynamicDepthLimit
public abstract boolean hasDynamicDepthLimit()
screen
public abstract NSScreen screen()
deepestScreen
public abstract NSScreen deepestScreen()
canStoreColor
public abstract boolean canStoreColor()
setHasShadow
public abstract void setHasShadow(boolean hasShadow)
hasShadow
public abstract boolean hasShadow()
invalidateShadow
public abstract void invalidateShadow()
setAlphaValue
public abstract void setAlphaValue(float windowAlpha)
alphaValue
public abstract float alphaValue()
setOpaque
public abstract void setOpaque(boolean isOpaque)
isOpaque
public abstract boolean isOpaque()
setSharingType
public abstract void setSharingType(int type)
- -setSharingType: specifies whether the window content can be read and/or written from another process. The default sharing type is NSWindowSharingReadOnly, which means other processes can read the window content (eg. for window capture) but cannot modify it. If you set your window sharing type to NSWindowSharingNone, so that the content cannot be captured, your window will also not be able to participate in a number of system services, so this setting should be used with caution. If you set your window sharing type to NSWindowSharingReadWrite, other processes can both read and modify the window content.
Original signature : -(void)setSharingType:(NSWindowSharingType)
sharingType
public abstract int sharingType()
setPreferredBackingLocation
public abstract void setPreferredBackingLocation(int backingLocation)
- -setPreferredBackingLocation: sets the preferred location for the window backing store. In general, you should not use this API unless indicated by performance measurement.
Original signature : -(void)setPreferredBackingLocation:(NSWindowBackingLocation)
preferredBackingLocation
public abstract int preferredBackingLocation()
- -preferredBackingLocation gets the preferred location for the window backing store. This may be different from the actual location.
Original signature : -(NSWindowBackingLocation)preferredBackingLocation
backingLocation
public abstract int backingLocation()
- -backingLocation gets the current location of the window backing store.
Original signature : -(NSWindowBackingLocation)backingLocation
displaysWhenScreenProfileChanges
public abstract boolean displaysWhenScreenProfileChanges()
setDisplaysWhenScreenProfileChanges
public abstract void setDisplaysWhenScreenProfileChanges(boolean flag)
disableScreenUpdatesUntilFlush
public abstract void disableScreenUpdatesUntilFlush()
canBecomeVisibleWithoutLogin
public abstract boolean canBecomeVisibleWithoutLogin()
- This API controls whether the receiver is permitted onscreen before the user has logged in. This property is off by default. Alert panels and windows presented by input managers are examples of windows which should have this property set.
Original signature : -(BOOL)canBecomeVisibleWithoutLogin
setCanBecomeVisibleWithoutLogin
public abstract void setCanBecomeVisibleWithoutLogin(boolean flag)
setCollectionBehavior
public abstract void setCollectionBehavior(int behavior)
collectionBehavior
public abstract int collectionBehavior()
canBeVisibleOnAllSpaces
public abstract boolean canBeVisibleOnAllSpaces()
- -setCanBeVisibleOnAllSpaces: controls whether a window can be visible on all spaces (YES) or is associated with one space at a time (NO). The default setting is NO.
Original signature : -(BOOL)canBeVisibleOnAllSpaces
setCanBeVisibleOnAllSpaces
public abstract void setCanBeVisibleOnAllSpaces(boolean flag)
stringWithSavedFrame
public abstract NSString stringWithSavedFrame()
setFrameFromString
public abstract void setFrameFromString(NSString string)
saveFrameUsingName
public abstract void saveFrameUsingName(NSString name)
setFrameUsingName_force
public abstract boolean setFrameUsingName_force(NSString name,
boolean force)
- Set force=YES to use setFrameUsingName on a non-resizable window
Original signature : -(BOOL)setFrameUsingName:(NSString*) force:(BOOL)
setFrameUsingName
public abstract boolean setFrameUsingName(NSString name)
setFrameAutosaveName
public abstract boolean setFrameAutosaveName(NSString name)
frameAutosaveName
public abstract NSString frameAutosaveName()
removeFrameUsingName
public static void removeFrameUsingName(NSString name)
cacheImageInRect
public abstract void cacheImageInRect(NSRect.ByValue aRect)
restoreCachedImage
public abstract void restoreCachedImage()
discardCachedImage
public abstract void discardCachedImage()
minSize
public abstract NSSize.ByValue minSize()
maxSize
public abstract NSSize.ByValue maxSize()
setMinSize
public abstract void setMinSize(NSSize.ByValue size)
setMaxSize
public abstract void setMaxSize(NSSize.ByValue size)
contentMinSize
public abstract NSSize.ByValue contentMinSize()
contentMaxSize
public abstract NSSize.ByValue contentMaxSize()
setContentMinSize
public abstract void setContentMinSize(NSSize.ByValue size)
setContentMaxSize
public abstract void setContentMaxSize(NSSize.ByValue size)
nextEventMatchingMask
public abstract NSEvent nextEventMatchingMask(int mask)
nextEventMatchingMask_untilDate_inMode_dequeue
public abstract NSEvent nextEventMatchingMask_untilDate_inMode_dequeue(int mask,
NSDate expiration,
NSString mode,
boolean deqFlag)
discardEventsMatchingMask_beforeEvent
public abstract void discardEventsMatchingMask_beforeEvent(int mask,
NSEvent lastEvent)
postEvent_atStart
public abstract void postEvent_atStart(NSEvent event,
boolean flag)
currentEvent
public abstract NSEvent currentEvent()
setAcceptsMouseMovedEvents
public abstract void setAcceptsMouseMovedEvents(boolean flag)
acceptsMouseMovedEvents
public abstract boolean acceptsMouseMovedEvents()
setIgnoresMouseEvents
public abstract void setIgnoresMouseEvents(boolean flag)
ignoresMouseEvents
public abstract boolean ignoresMouseEvents()
deviceDescription
public abstract NSDictionary deviceDescription()
sendEvent
public abstract void sendEvent(NSEvent theEvent)
mouseLocationOutsideOfEventStream
public abstract NSObject mouseLocationOutsideOfEventStream()
menuChanged
public static void menuChanged(NSMenu menu)
windowController
public abstract NSObject windowController()
setWindowController
public abstract void setWindowController(NSWindowController windowController)
isSheet
public abstract boolean isSheet()
attachedSheet
public abstract NSWindow attachedSheet()
standardWindowButton_forStyleMask
public static NSButton standardWindowButton_forStyleMask(int b,
int styleMask)
- Original signature :
+(NSButton*)standardWindowButton:(NSWindowButton) forStyleMask:(NSUInteger)
- Parameters:
b
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSWindowButton
standardWindowButton
public abstract NSButton standardWindowButton(int b)
- Original signature :
-(NSButton*)standardWindowButton:(NSWindowButton)
- Parameters:
b
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSWindowButton
removeChildWindow
public abstract void removeChildWindow(NSWindow childWin)
childWindows
public abstract NSArray childWindows()
parentWindow
public abstract NSWindow parentWindow()
setParentWindow
public abstract void setParentWindow(NSWindow window)
graphicsContext
public abstract NSGraphicsContext graphicsContext()
- Returns NSGraphicsContext used to render the receiver's content on the screen for the calling thread.
Original signature : -(NSGraphicsContext*)graphicsContext
userSpaceScaleFactor
public abstract float userSpaceScaleFactor()
- Returns scale factor applied to view coordinate system to get to base coordinate system of window
Original signature : -(CGFloat)userSpaceScaleFactor
alloc
public static NSWindow alloc()