public class NSWindow extends NSResponder
NSWindow
class.
See the class documentation at the Apple's site: NSWindowConstructor and Description |
---|
NSWindow() |
NSWindow(boolean autorelease)
Contructs the
NSWindow class with the autorelease option on. |
NSWindow(java.awt.Component component)
Constructs the
NSWindow class from Java Component. |
NSWindow(com.jniwrapper.Pointer.Void instancePtr)
Contructs the
NSWindow class from pointer. |
NSWindow(java.lang.String methodName,
com.jniwrapper.Parameter[] parameters)
Contructs the
NSWindow class with static constructor. |
Modifier and Type | Method and Description |
---|---|
com.jniwrapper.Bool |
acceptsMouseMovedEvents() |
void |
addChildWindow_ordered(NSWindow childWin,
NSWindowOrderingMode place)
This method represents the
addChildWindow() method of the NSWindow Objective-C class. |
com.jniwrapper.Bool |
allowsToolTipsWhenApplicationIsInactive() |
com.jniwrapper.SingleFloat |
alphaValue() |
NSTimeInterval |
animationResizeTime(NSRect newFrame) |
com.jniwrapper.Bool |
areCursorRectsEnabled() |
NSSize |
aspectRatio() |
com.jniwrapper.Pointer.Void |
attachedSheet() |
com.jniwrapper.Pointer.Void |
backgroundColor() |
NSBackingStoreType |
backingType() |
void |
becomeKeyWindow() |
void |
becomeMainWindow() |
void |
cacheImageInRect(NSRect aRect) |
com.jniwrapper.Bool |
canBecomeKeyWindow() |
com.jniwrapper.Bool |
canBecomeMainWindow() |
com.jniwrapper.Bool |
canHide() |
com.jniwrapper.Bool |
canStoreColor() |
NSPoint |
cascadeTopLeftFromPoint(NSPoint topLeftPoint) |
void |
center() |
com.jniwrapper.Pointer.Void |
childWindows() |
void |
close() |
NSRect |
constrainFrameRect_toScreen(NSRect frameRect,
NSScreen screen)
This method represents the
constrainFrameRect() method of the NSWindow Objective-C class. |
NSSize |
contentAspectRatio() |
NSSize |
contentMaxSize() |
NSSize |
contentMinSize() |
NSRect |
contentRectForFrameRect(NSRect frameRect) |
NSSize |
contentResizeIncrements() |
Id |
contentView() |
NSPoint |
convertBaseToScreen(NSPoint aPoint) |
NSPoint |
convertScreenToBase(NSPoint aPoint) |
com.jniwrapper.Pointer.Void |
currentEvent() |
com.jniwrapper.Pointer.Void |
dataWithEPSInsideRect(NSRect rect) |
com.jniwrapper.Pointer.Void |
dataWithPDFInsideRect(NSRect rect) |
com.jniwrapper.Pointer.Void |
deepestScreen() |
com.jniwrapper.Pointer.Void |
defaultButtonCell() |
Id |
delegate() |
void |
deminiaturize(Id sender) |
NSWindowDepth |
depthLimit() |
com.jniwrapper.Pointer.Void |
deviceDescription() |
void |
disableCursorRects() |
void |
disableFlushWindow() |
void |
disableKeyEquivalentForDefaultButtonCell() |
void |
discardCachedImage() |
void |
discardCursorRects() |
void |
discardEventsMatchingMask_beforeEvent(com.jniwrapper.UInt mask,
NSEvent lastEvent)
This method represents the
discardEventsMatchingMask() method of the NSWindow Objective-C class. |
void |
display() |
void |
displayIfNeeded() |
void |
dragImage_at_offset_event_pasteboard_source_slideBack(NSImage anImage,
NSPoint baseLocation,
NSSize initialOffset,
NSEvent event,
NSPasteboard pboard,
Id sourceObj,
boolean slideFlag)
This method represents the
dragImage() method of the NSWindow Objective-C class. |
com.jniwrapper.Pointer.Void |
drawers() |
void |
enableCursorRects() |
void |
enableFlushWindow() |
void |
enableKeyEquivalentForDefaultButtonCell() |
void |
endEditingFor(Id anObject) |
com.jniwrapper.Pointer.Void |
fieldEditor_forObject(boolean createFlag,
Id anObject)
This method represents the
fieldEditor() method of the NSWindow Objective-C class. |
com.jniwrapper.Pointer.Void |
firstResponder() |
void |
flushWindow() |
void |
flushWindowIfNeeded() |
NSRect |
frame() |
com.jniwrapper.Pointer.Void |
frameAutosaveName() |
NSRect |
frameRectForContentRect(NSRect contentRect) |
static com.jniwrapper.Pointer.Void |
getWindowHandle(java.awt.Component component) |
com.jniwrapper.Int |
gState() |
Id |
handleCloseScriptCommand(NSCloseCommand command) |
Id |
handlePrintScriptCommand(NSScriptCommand command) |
Id |
handleSaveScriptCommand(NSScriptCommand command) |
com.jniwrapper.Bool |
hasCloseBox() |
com.jniwrapper.Bool |
hasDynamicDepthLimit() |
com.jniwrapper.Bool |
hasShadow() |
com.jniwrapper.Bool |
hasTitleBar() |
com.jniwrapper.Bool |
hidesOnDeactivate() |
com.jniwrapper.Bool |
ignoresMouseEvents() |
protected void |
init(com.jniwrapper.Parameter[] fields) |
com.jniwrapper.Pointer.Void |
initialFirstResponder() |
Id |
initWithContentRect_styleMask_backing_defer_screen(NSRect contentRect,
com.jniwrapper.UInt aStyle,
NSBackingStoreType bufferingType,
boolean flag,
NSScreen screen)
This method represents the
initWithContentRect() method of the NSWindow Objective-C class. |
Id |
initWithContentRect_styleMask_backing_defer(NSRect contentRect,
com.jniwrapper.UInt aStyle,
NSBackingStoreType bufferingType,
boolean flag)
This method represents the
initWithContentRect() method of the NSWindow Objective-C class. |
com.jniwrapper.Pointer.Void |
initWithWindowRef(com.jniwrapper.Pointer.Void windowRef) |
void |
invalidateCursorRectsForView(NSView aView) |
void |
invalidateShadow() |
com.jniwrapper.Bool |
isAutodisplay() |
com.jniwrapper.Bool |
isDocumentEdited() |
com.jniwrapper.Bool |
isExcludedFromWindowsMenu() |
com.jniwrapper.Bool |
isFloatingPanel() |
com.jniwrapper.Bool |
isFlushWindowDisabled() |
com.jniwrapper.Bool |
isKeyWindow() |
com.jniwrapper.Bool |
isMainWindow() |
com.jniwrapper.Bool |
isMiniaturizable() |
com.jniwrapper.Bool |
isMiniaturized() |
com.jniwrapper.Bool |
isModalPanel() |
com.jniwrapper.Bool |
isMovableByWindowBackground() |
com.jniwrapper.Bool |
isOneShot() |
com.jniwrapper.Bool |
isOpaque() |
com.jniwrapper.Bool |
isReleasedWhenClosed() |
com.jniwrapper.Bool |
isResizable() |
com.jniwrapper.Bool |
isSheet() |
com.jniwrapper.Bool |
isVisible() |
com.jniwrapper.Bool |
isZoomable() |
com.jniwrapper.Bool |
isZoomed() |
void |
keyDown(NSEvent theEvent) |
NSSelectionDirection |
keyViewSelectionDirection() |
com.jniwrapper.Int |
level() |
com.jniwrapper.Bool |
makeFirstResponder(NSResponder aResponder) |
void |
makeKeyAndOrderFront(Id sender) |
void |
makeKeyWindow() |
void |
makeMainWindow() |
NSSize |
maxSize() |
void |
miniaturize(Id sender) |
com.jniwrapper.Pointer.Void |
miniwindowImage() |
com.jniwrapper.Pointer.Void |
miniwindowTitle() |
NSSize |
minSize() |
NSPoint |
mouseLocationOutsideOfEventStream() |
com.jniwrapper.Pointer.Void |
nextEventMatchingMask_untilDate_inMode_dequeue(com.jniwrapper.UInt mask,
NSDate expiration,
java.lang.String mode,
boolean deqFlag)
This method represents the
nextEventMatchingMask() method of the NSWindow Objective-C class. |
com.jniwrapper.Pointer.Void |
nextEventMatchingMask(com.jniwrapper.UInt mask) |
void |
orderBack(Id sender) |
com.jniwrapper.Int |
orderedIndex() |
void |
orderFront(Id sender) |
void |
orderFrontRegardless() |
void |
orderOut(Id sender) |
void |
orderWindow_relativeTo(NSWindowOrderingMode place,
com.jniwrapper.Int otherWin)
This method represents the
orderWindow() method of the NSWindow Objective-C class. |
com.jniwrapper.Pointer.Void |
parentWindow() |
void |
performClose(Id sender) |
void |
performMiniaturize(Id sender) |
void |
performZoom(Id sender) |
void |
postEvent_atStart(NSEvent event,
boolean flag)
This method represents the
postEvent() method of the NSWindow Objective-C class. |
void |
print(Id sender) |
void |
registerForDraggedTypes(NSArray newTypes) |
void |
removeChildWindow(NSWindow childWin) |
com.jniwrapper.Pointer.Void |
representedFilename() |
void |
resetCursorRects() |
void |
resignKeyWindow() |
void |
resignMainWindow() |
com.jniwrapper.Int |
resizeFlags() |
NSSize |
resizeIncrements() |
void |
restoreCachedImage() |
void |
runToolbarCustomizationPalette(Id sender) |
void |
saveFrameUsingName(java.lang.String name) |
com.jniwrapper.Pointer.Void |
screen() |
void |
selectKeyViewFollowingView(NSView aView) |
void |
selectKeyViewPrecedingView(NSView aView) |
void |
selectNextKeyView(Id sender) |
void |
selectPreviousKeyView(Id sender) |
void |
sendEvent(NSEvent theEvent) |
void |
setAcceptsMouseMovedEvents(boolean flag) |
void |
setAllowsToolTipsWhenApplicationIsInactive(boolean allowWhenInactive) |
void |
setAlphaValue(com.jniwrapper.SingleFloat windowAlpha) |
void |
setAspectRatio(NSSize ratio) |
void |
setAutodisplay(boolean flag) |
void |
setBackgroundColor(NSColor color) |
void |
setBackingType(NSBackingStoreType bufferingType) |
void |
setCanHide(boolean flag) |
void |
setContentAspectRatio(NSSize ratio) |
void |
setContentMaxSize(NSSize size) |
void |
setContentMinSize(NSSize size) |
void |
setContentResizeIncrements(NSSize increments) |
void |
setContentSize(NSSize aSize) |
void |
setContentView(NSView aView) |
void |
setDefaultButtonCell(NSButtonCell defButt) |
void |
setDelegate(Id anObject) |
void |
setDepthLimit(NSWindowDepth limit) |
void |
setDocumentEdited(boolean flag) |
void |
setDynamicDepthLimit(boolean flag) |
void |
setExcludedFromWindowsMenu(boolean flag) |
void |
setFrame_display_animate(NSRect frameRect,
boolean displayFlag,
boolean animateFlag)
This method represents the
setFrame() method of the NSWindow Objective-C class. |
void |
setFrame_display(NSRect frameRect,
boolean flag)
This method represents the
setFrame() method of the NSWindow Objective-C class. |
com.jniwrapper.Bool |
setFrameAutosaveName(java.lang.String name) |
void |
setFrameFromString(java.lang.String string) |
void |
setFrameOrigin(NSPoint aPoint) |
void |
setFrameTopLeftPoint(NSPoint aPoint) |
com.jniwrapper.Bool |
setFrameUsingName_force(java.lang.String name,
boolean force)
This method represents the
setFrameUsingName() method of the NSWindow Objective-C class. |
com.jniwrapper.Bool |
setFrameUsingName(java.lang.String name) |
void |
setHasShadow(boolean hasShadow) |
void |
setHidesOnDeactivate(boolean flag) |
void |
setIgnoresMouseEvents(boolean flag) |
void |
setInitialFirstResponder(NSView view) |
void |
setIsMiniaturized(boolean flag) |
void |
setIsVisible(boolean flag) |
void |
setIsZoomed(boolean flag) |
void |
setLevel(com.jniwrapper.Int newLevel) |
void |
setMaxSize(NSSize size) |
void |
setMiniwindowImage(NSImage image) |
void |
setMiniwindowTitle(java.lang.String title) |
void |
setMinSize(NSSize size) |
void |
setMovableByWindowBackground(boolean flag) |
void |
setOneShot(boolean flag) |
void |
setOpaque(boolean isOpaque) |
void |
setOrderedIndex(com.jniwrapper.Int index) |
void |
setParentWindow(NSWindow window) |
void |
setReleasedWhenClosed(boolean flag) |
void |
setRepresentedFilename(java.lang.String aString) |
void |
setResizeIncrements(NSSize increments) |
void |
setShowsResizeIndicator(boolean show) |
void |
setTitle(java.lang.String aString) |
void |
setTitleWithRepresentedFilename(java.lang.String filename) |
void |
setToolbar(NSToolbar toolbar) |
void |
setViewsNeedDisplay(boolean flag) |
void |
setWindowController(NSWindowController windowController) |
com.jniwrapper.Bool |
showsResizeIndicator() |
com.jniwrapper.Pointer.Void |
standardWindowButton(NSWindowButton b) |
static NSRect |
static_contentRectForFrameRect_styleMask(NSRect fRect,
com.jniwrapper.UInt aStyle)
This method represents the
contentRectForFrameRect() method of the NSWindow Objective-C class. |
static NSWindowDepth |
static_defaultDepthLimit() |
static NSRect |
static_frameRectForContentRect_styleMask(NSRect cRect,
com.jniwrapper.UInt aStyle)
This method represents the
frameRectForContentRect() method of the NSWindow Objective-C class. |
static void |
static_menuChanged(NSMenu menu) |
static com.jniwrapper.SingleFloat |
static_minFrameWidthWithTitle_styleMask(java.lang.String aTitle,
com.jniwrapper.UInt aStyle)
This method represents the
minFrameWidthWithTitle() method of the NSWindow Objective-C class. |
static void |
static_removeFrameUsingName(java.lang.String name) |
static com.jniwrapper.Pointer.Void |
static_standardWindowButton_forStyleMask(NSWindowButton b,
com.jniwrapper.UInt styleMask)
This method represents the
standardWindowButton() method of the NSWindow Objective-C class. |
com.jniwrapper.Pointer.Void |
stringWithSavedFrame() |
com.jniwrapper.UInt |
styleMask() |
com.jniwrapper.Pointer.Void |
title() |
void |
toggleToolbarShown(Id sender) |
com.jniwrapper.Pointer.Void |
toolbar() |
com.jniwrapper.Bool |
tryToPerform_with(Sel anAction,
Id anObject)
This method represents the
tryToPerform() method of the NSWindow Objective-C class. |
void |
unregisterDraggedTypes() |
void |
update() |
void |
useOptimizedDrawing(boolean flag) |
Id |
validRequestorForSendType_returnType(java.lang.String sendType,
java.lang.String returnType)
This method represents the
validRequestorForSendType() method of the NSWindow Objective-C class. |
com.jniwrapper.Bool |
viewsNeedDisplay() |
Id |
windowController() |
com.jniwrapper.Pointer.Void |
windowHandle() |
com.jniwrapper.Int |
windowNumber() |
com.jniwrapper.Pointer.Void |
windowRef() |
com.jniwrapper.Bool |
worksWhenModal() |
void |
zoom(Id sender) |
acceptsFirstResponder, becomeFirstResponder, cancelOperation, capitalizeWord, centerSelectionInVisibleArea, changeCaseOfLetter, complete, deleteBackward, deleteBackwardByDecomposingPreviousCharacter, deleteForward, deleteToBeginningOfLine, deleteToBeginningOfParagraph, deleteToEndOfLine, deleteToEndOfParagraph, deleteToMark, deleteWordBackward, deleteWordForward, doCommandBySelector, encodeWithCoder, flagsChanged, flushBufferedKeyEvents, helpRequested, indent, initWithCoder, insertBacktab, insertNewline, insertNewlineIgnoringFieldEditor, insertParagraphSeparator, insertTab, insertTabIgnoringFieldEditor, insertText, interfaceStyle, interpretKeyEvents, keyUp, lowercaseWord, menu, mouseDown, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, 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, nextResponder, noResponderFor, otherMouseDown, otherMouseDragged, otherMouseUp, pageDown, pageUp, performKeyEquivalent, performMnemonic, resignFirstResponder, rightMouseDown, rightMouseDragged, rightMouseUp, scrollLineDown, scrollLineUp, scrollPageDown, scrollPageUp, scrollWheel, selectAll, selectLine, selectParagraph, selectToMark, selectWord, setInterfaceStyle, setMark, setMenu, setNextResponder, shouldBeTreatedAsInkEvent, showContextHelp, swapWithMark, transpose, transposeWords, undoManager, uppercaseWord, yank
_class, accessibilityActionDescription, accessibilityActionNames, accessibilityAttributeNames, accessibilityAttributeValue_forParameter, accessibilityAttributeValue, accessibilityFocusedUIElement, accessibilityHitTest, accessibilityIsAttributeSettable, accessibilityIsIgnored, accessibilityParameterizedAttributeNames, accessibilityPerformAction, accessibilitySetValue_forAttribute, addObserver_forKeyPath_options_context, alertShowHelp, application_delegateHandlesKey, application_openFile, application_openFiles, application_openFileWithoutUI, application_openTempFile, application_printFile, application_printFiles, applicationDidBecomeActive, applicationDidChangeScreenParameters, applicationDidFinishLaunching, applicationDidHide, applicationDidResignActive, applicationDidUnhide, applicationDidUpdate, applicationDockMenu, applicationOpenUntitledFile, applicationShouldHandleReopen_hasVisibleWindows, applicationShouldOpenUntitledFile, applicationShouldTerminate, applicationShouldTerminateAfterLastWindowClosed, applicationWillBecomeActive, applicationWillFinishLaunching, applicationWillHide, applicationWillResignActive, applicationWillTerminate, applicationWillUnhide, applicationWillUpdate, archiver_didEncodeObject, archiver_willEncodeObject, archiver_willReplaceObject_withObject, archiverDidFinish, archiverWillFinish, attributeKeys, authenticateComponents_withData, authenticationDataForComponents, autorelease, awakeAfterUsingCoder, awakeFromNib, bind_toObject_withKeyPath_options, browser_createRowsForColumn_inMatrix, browser_isColumnValid, browser_numberOfRowsInColumn, browser_selectCellWithString_inColumn, browser_selectRow_inColumn, browser_shouldSizeColumn_forUserResize_toWidth, browser_sizeToFitWidthOfColumn, browser_titleOfColumn, browser_willDisplayCell_atRow_column, browserColumnConfigurationDidChange, browserDidScroll, browserWillScroll, changeColor, changeFont, classCode, classDescription, classForArchiver, classForCoder, classForKeyedArchiver, classForPortCoder, className, coerceValue_forKey, comboBox_completedString, comboBox_indexOfItemWithStringValue, comboBox_objectValueForItemAtIndex, comboBoxCell_completedString, comboBoxCell_indexOfItemWithStringValue, comboBoxCell_objectValueForItemAtIndex, comboBoxSelectionDidChange, comboBoxSelectionIsChanging, comboBoxWillDismiss, comboBoxWillPopUp, commitEditing, concludeDragOperation, conformsToProtocol, connection_didCancelAuthenticationChallenge, connection_didFailWithError, connection_didReceiveAuthenticationChallenge, connection_didReceiveData, connection_didReceiveResponse, connection_handleRequest, connection_shouldMakeNewConnection, connection_willCacheResponse, connection_willSendRequest_redirectResponse, connectionDidFinishLoading, control_didFailToFormatString_errorDescription, control_didFailToValidatePartialString_errorDescription, control_isValidObject, control_textShouldBeginEditing, control_textShouldEndEditing, control_textView_completions_forPartialWordRange_indexOfSelectedItem, control_textView_doCommandBySelector, controlTextDidBeginEditing, controlTextDidChange, controlTextDidEndEditing, copy, createConversationForConnection, dealloc, description, dictionaryWithValuesForKeys, didChange_valuesAtIndexes_forKey, didChangeValueForKey, discardEditing, doesContain, doesNotRecognizeSelector, download_decideDestinationWithSuggestedFilename, download_didCancelAuthenticationChallenge, download_didCreateDestination, download_didFailWithError, download_didReceiveAuthenticationChallenge, download_didReceiveDataOfLength, download_didReceiveResponse, download_shouldDecodeSourceDataOfMIMEType, download_willSendRequest_redirectResponse, downloadDidBegin, downloadDidFinish, draggedImage_beganAt, draggedImage_endedAt_deposited, draggedImage_endedAt_operation, draggedImage_movedTo, draggingEnded, draggingEntered, draggingExited, draggingSourceOperationMaskForLocal, draggingUpdated, drawerDidClose, drawerDidOpen, drawerShouldClose, drawerShouldOpen, drawerWillClose, drawerWillOpen, drawerWillResizeContents_toSize, exposedBindings, fileManager_shouldProceedAfterError, fileManager_willProcessPath, fontManager_willIncludeFont, forwardInvocation, handleMachMessage, handlePortMessage, handleQueryWithUnboundKey, handleTakeValue_forUnboundKey, hash, ignoreModifierKeysWhileDragging, image_didLoadPartOfRepresentation_withValidRows, image_didLoadRepresentation_withStatus, image_didLoadRepresentationHeader, image_willLoadRepresentation, imageDidNotDraw_inRect, indicesOfObjectsByEvaluatingObjectSpecifier, init, insertValue_atIndex_inPropertyWithKey, insertValue_inPropertyWithKey, inverseForRelationshipKey, isCaseInsensitiveLike, isEqual, isEqualTo, isGreaterThan, isGreaterThanOrEqualTo, isKindOfClass, isLessThan, isLessThanOrEqualTo, isLike, isMemberOfClass, isNotEqualTo, isProxy, layoutManager_didCompleteLayoutForTextContainer_atEnd, layoutManagerDidInvalidateLayout, makeNewConnection_sender, menu_updateItem_atIndex_shouldCancel, menuHasKeyEquivalent_forEvent_target_action, menuNeedsUpdate, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, namesOfPromisedFilesDroppedAtDestination, netService_didNotPublish, netService_didNotResolve, netServiceBrowser_didFindDomain_moreComing, netServiceBrowser_didFindService_moreComing, netServiceBrowser_didNotSearch, netServiceBrowser_didRemoveDomain_moreComing, netServiceBrowser_didRemoveService_moreComing, netServiceBrowserDidStopSearch, netServiceBrowserWillSearch, netServiceDidResolveAddress, netServiceDidStop, netServiceWillPublish, netServiceWillResolve, NSObject__new, NSObject_alloc, NSObject_allocWithZone, NSObject_copyWithZone, NSObject_defaultPlaceholderForMarker_withBinding, NSObject_mutableCopyWithZone, numberOfItemsInComboBox, numberOfItemsInComboBoxCell, numberOfItemsInMenu, numberOfRowsInTableView, objectDidBeginEditing, objectDidEndEditing, objectSpecifier, observationInfo, observeValueForKeyPath_ofObject_change_context, outlineView_acceptDrop_item_childIndex, outlineView_child_ofItem, outlineView_didClickTableColumn, outlineView_didDragTableColumn, outlineView_isItemExpandable, outlineView_itemForPersistentObject, outlineView_mouseDownInHeaderOfTableColumn, outlineView_numberOfChildrenOfItem, outlineView_objectValueForTableColumn_byItem, outlineView_persistentObjectForItem, outlineView_setObjectValue_forTableColumn_byItem, outlineView_shouldCollapseItem, outlineView_shouldEditTableColumn_item, outlineView_shouldExpandItem, outlineView_shouldSelectItem, outlineView_shouldSelectTableColumn, outlineView_sortDescriptorsDidChange, outlineView_validateDrop_proposedItem_proposedChildIndex, outlineView_willDisplayCell_forTableColumn_item, outlineView_willDisplayOutlineCell_forTableColumn_item, outlineView_writeItems_toPasteboard, outlineViewColumnDidMove, outlineViewColumnDidResize, outlineViewItemDidCollapse, outlineViewItemDidExpand, outlineViewItemWillCollapse, outlineViewItemWillExpand, outlineViewSelectionDidChange, outlineViewSelectionIsChanging, panel_compareFilename_with_caseSensitive, panel_directoryDidChange, panel_isValidFilename, panel_shouldShowFilename, panel_userEnteredFilename_confirmed, panel_willExpand, panelSelectionDidChange, 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, pasteboard_provideDataForType, pasteboardChangedOwner, performDragOperation, performSelector_withObject_afterDelay_inModes, performSelector_withObject_afterDelay, performSelector_withObject_withObject, performSelector_withObject, performSelector, performSelectorOnMainThread_withObject_waitUntilDone_modes, performSelectorOnMainThread_withObject_waitUntilDone, prepareForDragOperation, readSelectionFromPasteboard, release, removeObserver_forKeyPath, removeValueAtIndex_fromPropertyWithKey, replacementObjectForArchiver, replacementObjectForCoder, replacementObjectForKeyedArchiver, replacementObjectForPortCoder, replaceValueAtIndex_inPropertyWithKey_withValue, respondsToSelector, retain, retainCount, scriptingBeginsWith, scriptingContains, scriptingEndsWith, scriptingIsEqualTo, scriptingIsGreaterThan, scriptingIsGreaterThanOrEqualTo, scriptingIsLessThan, scriptingIsLessThanOrEqualTo, scriptingProperties, selectionShouldChangeInOutlineView, selectionShouldChangeInTableView, self, setNilValueForKey, setObservationInfo, setScriptingProperties, setValue_forKey, setValue_forKeyPath, setValue_forUndefinedKey, setValuesForKeysWithDictionary, sound_didFinishPlaying, speechRecognizer_didRecognizeCommand, speechSynthesizer_didFinishSpeaking, speechSynthesizer_willSpeakPhoneme, speechSynthesizer_willSpeakWord_ofString, spellServer_didForgetWord_inLanguage, spellServer_didLearnWord_inLanguage, spellServer_findMisspelledWordInString_language_wordCount_countOnly, spellServer_suggestCompletionsForPartialWordRange_inString_language, spellServer_suggestGuessesForWord_inLanguage, splitView_canCollapseSubview, splitView_constrainMaxCoordinate_ofSubviewAt, splitView_constrainMinCoordinate_ofSubviewAt, splitView_constrainSplitPosition_ofSubviewAt, splitView_resizeSubviewsWithOldSize, splitViewDidResizeSubviews, splitViewWillResizeSubviews, static_accessInstanceVariablesDirectly, static_automaticallyNotifiesObserversForKey, static_cancelPreviousPerformRequestsWithTarget_selector_object, static_cancelPreviousPerformRequestsWithTarget, static_classForKeyedUnarchiver, static_exposeBinding, static_initialize, static_instanceMethodForSelector, static_instanceMethodSignatureForSelector, static_instancesRespondToSelector, static_isSubclassOfClass, static_load, static_poseAsClass, static_setDefaultPlaceholder_forMarker_withBinding, static_setKeys_triggerChangeNotificationsForDependentKey, static_setVersion, static_useStoredAccessor, static_version, storedValueForKey, stream_handleEvent, superclass, tableView_acceptDrop_row_dropOperation, tableView_didClickTableColumn, tableView_didDragTableColumn, tableView_mouseDownInHeaderOfTableColumn, tableView_objectValueForTableColumn_row, tableView_setObjectValue_forTableColumn_row, tableView_shouldEditTableColumn_row, tableView_shouldSelectRow, tableView_shouldSelectTableColumn, tableView_sortDescriptorsDidChange, tableView_validateDrop_proposedRow_proposedDropOperation, tableView_willDisplayCell_forTableColumn_row, tableView_writeRows_toPasteboard, tableViewColumnDidMove, tableViewColumnDidResize, tableViewSelectionDidChange, tableViewSelectionIsChanging, tabView_didSelectTabViewItem, tabView_shouldSelectTabViewItem, tabView_willSelectTabViewItem, tabViewDidChangeNumberOfTabViewItems, takeStoredValue_forKey, takeValue_forKey, takeValue_forKeyPath, takeValuesFromDictionary, textDidBeginEditing, textDidChange, textDidEndEditing, textShouldBeginEditing, textShouldEndEditing, textStorageDidProcessEditing, textStorageWillProcessEditing, textView_clickedOnCell_inRect_atIndex, textView_clickedOnCell_inRect, textView_clickedOnLink_atIndex, textView_clickedOnLink, textView_completions_forPartialWordRange_indexOfSelectedItem, textView_doCommandBySelector, textView_doubleClickedOnCell_inRect_atIndex, textView_doubleClickedOnCell_inRect, textView_draggedCell_inRect_event_atIndex, textView_draggedCell_inRect_event, textView_shouldChangeTextInRange_replacementString, textView_willChangeSelectionFromCharacterRange_toCharacterRange, textView_willDisplayToolTip_forCharacterAtIndex, textView_writablePasteboardTypesForCell_atIndex, textView_writeCell_atIndex_toPasteboard_type, textViewDidChangeSelection, textViewDidChangeTypingAttributes, toManyRelationshipKeys, toolbar_itemForItemIdentifier_willBeInsertedIntoToolbar, toolbarAllowedItemIdentifiers, toolbarDefaultItemIdentifiers, toolbarDidRemoveItem, toolbarSelectableItemIdentifiers, toolbarWillAddItem, toOneRelationshipKeys, unableToSetNilForKey, unarchiver_cannotDecodeObjectOfClassName_originalClasses, unarchiver_didDecodeObject, unarchiver_willReplaceObject_withObject, unarchiverDidFinish, unarchiverWillFinish, unbind, undoManagerForTextView, URL_resourceDataDidBecomeAvailable, URL_resourceDidFailLoadingWithReason, URLResourceDidCancelLoading, URLResourceDidFinishLoading, validateMenuItem, validateToolbarItem, validateValue_forKey_error, validateValue_forKeyPath_error, validModesForFontPanel, valueAtIndex_inPropertyWithKey, valueClassForBinding, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, valueWithName_inPropertyWithKey, valueWithUniqueID_inPropertyWithKey, view_stringForToolTip_point_userData, willChange_valuesAtIndexes_forKey, willChangeValueForKey, window_willPositionSheet_usingRect, windowDidBecomeKey, windowDidBecomeMain, windowDidChangeScreen, windowDidDeminiaturize, windowDidEndSheet, windowDidExpose, windowDidMiniaturize, windowDidMove, windowDidResignKey, windowDidResignMain, windowDidResize, windowDidUpdate, windowShouldClose, windowShouldZoom_toFrame, windowWillBeginSheet, windowWillClose, windowWillMiniaturize, windowWillMove, windowWillResize_toSize, windowWillReturnFieldEditor_toObject, windowWillReturnUndoManager, windowWillUseStandardFrame_defaultFrame, writeSelectionToPasteboard_types, zone
getClassName
asFunction, asFunction, asTypedPointer, castTo, castTo, equals, getDebugInfo, getLength, getValue, hashCode, isNull, read, setValue, toString, write
public NSWindow()
public NSWindow(boolean autorelease)
NSWindow
class with the autorelease option on.autorelease
- public NSWindow(com.jniwrapper.Pointer.Void instancePtr)
NSWindow
class from pointer.instancePtr
- public NSWindow(java.lang.String methodName, com.jniwrapper.Parameter[] parameters)
NSWindow
class with static constructor.methodName
- parameters
- public NSWindow(java.awt.Component component)
NSWindow
class from Java Component.component
- public static com.jniwrapper.Pointer.Void getWindowHandle(java.awt.Component component)
protected void init(com.jniwrapper.Parameter[] fields)
init
in class NSResponder
public void resignKeyWindow()
public com.jniwrapper.Bool viewsNeedDisplay()
public void setOneShot(boolean flag)
public void saveFrameUsingName(java.lang.String name)
public void setMiniwindowTitle(java.lang.String title)
public void setParentWindow(NSWindow window)
public void setFrameTopLeftPoint(NSPoint aPoint)
public void setViewsNeedDisplay(boolean flag)
public void invalidateShadow()
public void setHasShadow(boolean hasShadow)
public void runToolbarCustomizationPalette(Id sender)
public void deminiaturize(Id sender)
public com.jniwrapper.Bool setFrameUsingName(java.lang.String name)
public com.jniwrapper.Pointer.Void stringWithSavedFrame()
public void orderOut(Id sender)
public void setTitle(java.lang.String aString)
public void registerForDraggedTypes(NSArray newTypes)
public void setWindowController(NSWindowController windowController)
public com.jniwrapper.Pointer.Void parentWindow()
public void becomeMainWindow()
public com.jniwrapper.Bool areCursorRectsEnabled()
public void cacheImageInRect(NSRect aRect)
public com.jniwrapper.Bool makeFirstResponder(NSResponder aResponder)
public void close()
public void update()
public com.jniwrapper.Bool isOneShot()
public void setOrderedIndex(com.jniwrapper.Int index)
public void setFrame_display(NSRect frameRect, boolean flag)
setFrame()
method of the NSWindow Objective-C class.frameRect
- flag
- public com.jniwrapper.Bool showsResizeIndicator()
public void setContentMaxSize(NSSize size)
public com.jniwrapper.SingleFloat alphaValue()
public com.jniwrapper.Bool isResizable()
public void disableKeyEquivalentForDefaultButtonCell()
public NSBackingStoreType backingType()
public com.jniwrapper.Pointer.Void miniwindowTitle()
public void sendEvent(NSEvent theEvent)
public void enableFlushWindow()
public void invalidateCursorRectsForView(NSView aView)
public Id delegate()
public NSSize resizeIncrements()
public void keyDown(NSEvent theEvent)
keyDown
in class NSResponder
public void setIsVisible(boolean flag)
public void endEditingFor(Id anObject)
public void setResizeIncrements(NSSize increments)
public com.jniwrapper.Bool hasCloseBox()
public com.jniwrapper.Bool isSheet()
public com.jniwrapper.Bool hasTitleBar()
public Id contentView()
public com.jniwrapper.Pointer.Void fieldEditor_forObject(boolean createFlag, Id anObject)
fieldEditor()
method of the NSWindow Objective-C class.createFlag
- anObject
- public com.jniwrapper.Bool allowsToolTipsWhenApplicationIsInactive()
public com.jniwrapper.Pointer.Void screen()
public com.jniwrapper.Int windowNumber()
public NSPoint mouseLocationOutsideOfEventStream()
public com.jniwrapper.Pointer.Void dataWithEPSInsideRect(NSRect rect)
public com.jniwrapper.Pointer.Void initialFirstResponder()
public void setTitleWithRepresentedFilename(java.lang.String filename)
public com.jniwrapper.Int gState()
public com.jniwrapper.Pointer.Void windowHandle()
public void enableCursorRects()
public com.jniwrapper.Bool isMovableByWindowBackground()
public void becomeKeyWindow()
public com.jniwrapper.Bool isFlushWindowDisabled()
public void selectNextKeyView(Id sender)
public com.jniwrapper.Bool hasDynamicDepthLimit()
public void makeMainWindow()
public com.jniwrapper.Pointer.Void nextEventMatchingMask_untilDate_inMode_dequeue(com.jniwrapper.UInt mask, NSDate expiration, java.lang.String mode, boolean deqFlag)
nextEventMatchingMask()
method of the NSWindow Objective-C class.mask
- expiration
- mode
- deqFlag
- public com.jniwrapper.Bool setFrameAutosaveName(java.lang.String name)
public void setContentView(NSView aView)
public void setAcceptsMouseMovedEvents(boolean flag)
public com.jniwrapper.Pointer.Void drawers()
public void orderWindow_relativeTo(NSWindowOrderingMode place, com.jniwrapper.Int otherWin)
orderWindow()
method of the NSWindow Objective-C class.place
- otherWin
- public com.jniwrapper.Pointer.Void currentEvent()
public void setInitialFirstResponder(NSView view)
public void postEvent_atStart(NSEvent event, boolean flag)
postEvent()
method of the NSWindow Objective-C class.event
- flag
- public NSSize aspectRatio()
public void disableFlushWindow()
public com.jniwrapper.Bool acceptsMouseMovedEvents()
public void display()
public com.jniwrapper.Bool canHide()
public void setFrame_display_animate(NSRect frameRect, boolean displayFlag, boolean animateFlag)
setFrame()
method of the NSWindow Objective-C class.frameRect
- displayFlag
- animateFlag
- public com.jniwrapper.Pointer.Void deviceDescription()
public com.jniwrapper.Bool isMiniaturized()
public void setMiniwindowImage(NSImage image)
public com.jniwrapper.Pointer.Void windowRef()
public com.jniwrapper.Pointer.Void title()
public void disableCursorRects()
public void setMovableByWindowBackground(boolean flag)
public void restoreCachedImage()
public com.jniwrapper.Bool isOpaque()
public void setContentResizeIncrements(NSSize increments)
public com.jniwrapper.Pointer.Void standardWindowButton(NSWindowButton b)
public void setBackgroundColor(NSColor color)
public void center()
public Id windowController()
public NSSize minSize()
public void selectKeyViewFollowingView(NSView aView)
public com.jniwrapper.Pointer.Void representedFilename()
public void setIsMiniaturized(boolean flag)
public com.jniwrapper.Bool isZoomable()
public static com.jniwrapper.Pointer.Void static_standardWindowButton_forStyleMask(NSWindowButton b, com.jniwrapper.UInt styleMask)
standardWindowButton()
method of the NSWindow Objective-C class.b
- styleMask
- public void setRepresentedFilename(java.lang.String aString)
public void setDocumentEdited(boolean flag)
public com.jniwrapper.Bool canBecomeKeyWindow()
public NSRect frame()
public void flushWindow()
public void setIgnoresMouseEvents(boolean flag)
public com.jniwrapper.Bool setFrameUsingName_force(java.lang.String name, boolean force)
setFrameUsingName()
method of the NSWindow Objective-C class.name
- force
- public com.jniwrapper.Pointer.Void deepestScreen()
public void setDefaultButtonCell(NSButtonCell defButt)
public void setFrameFromString(java.lang.String string)
public com.jniwrapper.Pointer.Void firstResponder()
public void setOpaque(boolean isOpaque)
public void setAllowsToolTipsWhenApplicationIsInactive(boolean allowWhenInactive)
public com.jniwrapper.Bool isReleasedWhenClosed()
public com.jniwrapper.Int resizeFlags()
public void setAutodisplay(boolean flag)
public void performMiniaturize(Id sender)
public com.jniwrapper.Bool isDocumentEdited()
public void setBackingType(NSBackingStoreType bufferingType)
public void miniaturize(Id sender)
public void discardCursorRects()
public void setIsZoomed(boolean flag)
public void setHidesOnDeactivate(boolean flag)
public com.jniwrapper.Bool canStoreColor()
public NSSelectionDirection keyViewSelectionDirection()
public void setMaxSize(NSSize size)
public Id handlePrintScriptCommand(NSScriptCommand command)
public Id initWithContentRect_styleMask_backing_defer(NSRect contentRect, com.jniwrapper.UInt aStyle, NSBackingStoreType bufferingType, boolean flag)
initWithContentRect()
method of the NSWindow Objective-C class.contentRect
- aStyle
- bufferingType
- flag
- public void makeKeyAndOrderFront(Id sender)
public NSSize contentResizeIncrements()
public void setLevel(com.jniwrapper.Int newLevel)
public void setDelegate(Id anObject)
public com.jniwrapper.Pointer.Void toolbar()
public void setContentSize(NSSize aSize)
public void setDynamicDepthLimit(boolean flag)
public void displayIfNeeded()
public void addChildWindow_ordered(NSWindow childWin, NSWindowOrderingMode place)
addChildWindow()
method of the NSWindow Objective-C class.childWin
- place
- public static NSRect static_frameRectForContentRect_styleMask(NSRect cRect, com.jniwrapper.UInt aStyle)
frameRectForContentRect()
method of the NSWindow Objective-C class.cRect
- aStyle
- public com.jniwrapper.Bool isMainWindow()
public com.jniwrapper.Bool ignoresMouseEvents()
public com.jniwrapper.Bool hidesOnDeactivate()
public void orderFront(Id sender)
public void setMinSize(NSSize size)
public void discardCachedImage()
public NSSize contentMaxSize()
public static com.jniwrapper.SingleFloat static_minFrameWidthWithTitle_styleMask(java.lang.String aTitle, com.jniwrapper.UInt aStyle)
minFrameWidthWithTitle()
method of the NSWindow Objective-C class.aTitle
- aStyle
- public void performClose(Id sender)
public com.jniwrapper.Pointer.Void dataWithPDFInsideRect(NSRect rect)
public com.jniwrapper.Pointer.Void defaultButtonCell()
public void flushWindowIfNeeded()
public com.jniwrapper.Pointer.Void backgroundColor()
public com.jniwrapper.Int level()
public com.jniwrapper.Pointer.Void initWithWindowRef(com.jniwrapper.Pointer.Void windowRef)
public com.jniwrapper.Bool worksWhenModal()
public Id initWithContentRect_styleMask_backing_defer_screen(NSRect contentRect, com.jniwrapper.UInt aStyle, NSBackingStoreType bufferingType, boolean flag, NSScreen screen)
initWithContentRect()
method of the NSWindow Objective-C class.contentRect
- aStyle
- bufferingType
- flag
- screen
- public com.jniwrapper.Pointer.Void miniwindowImage()
public void toggleToolbarShown(Id sender)
public void setContentMinSize(NSSize size)
public Id validRequestorForSendType_returnType(java.lang.String sendType, java.lang.String returnType)
validRequestorForSendType()
method of the NSWindow Objective-C class.validRequestorForSendType_returnType
in class NSResponder
sendType
- returnType
- public Id handleCloseScriptCommand(NSCloseCommand command)
public void setToolbar(NSToolbar toolbar)
public com.jniwrapper.Bool isMiniaturizable()
public void setContentAspectRatio(NSSize ratio)
public void setExcludedFromWindowsMenu(boolean flag)
public com.jniwrapper.Int orderedIndex()
public com.jniwrapper.Bool hasShadow()
public void setAspectRatio(NSSize ratio)
public void removeChildWindow(NSWindow childWin)
public NSSize contentAspectRatio()
public void selectKeyViewPrecedingView(NSView aView)
public void performZoom(Id sender)
public void resignMainWindow()
public com.jniwrapper.Pointer.Void attachedSheet()
public NSSize contentMinSize()
public com.jniwrapper.Pointer.Void frameAutosaveName()
public com.jniwrapper.UInt styleMask()
public com.jniwrapper.Bool isFloatingPanel()
public void enableKeyEquivalentForDefaultButtonCell()
public void setFrameOrigin(NSPoint aPoint)
public void selectPreviousKeyView(Id sender)
public void makeKeyWindow()
public void resetCursorRects()
public NSTimeInterval animationResizeTime(NSRect newFrame)
public com.jniwrapper.Bool isZoomed()
public void orderBack(Id sender)
public static void static_removeFrameUsingName(java.lang.String name)
public void setAlphaValue(com.jniwrapper.SingleFloat windowAlpha)
public void setDepthLimit(NSWindowDepth limit)
public void setShowsResizeIndicator(boolean show)
public void dragImage_at_offset_event_pasteboard_source_slideBack(NSImage anImage, NSPoint baseLocation, NSSize initialOffset, NSEvent event, NSPasteboard pboard, Id sourceObj, boolean slideFlag)
dragImage()
method of the NSWindow Objective-C class.anImage
- baseLocation
- initialOffset
- event
- pboard
- sourceObj
- slideFlag
- public com.jniwrapper.Bool isKeyWindow()
public NSRect constrainFrameRect_toScreen(NSRect frameRect, NSScreen screen)
constrainFrameRect()
method of the NSWindow Objective-C class.frameRect
- screen
- public com.jniwrapper.Pointer.Void childWindows()
public com.jniwrapper.Pointer.Void nextEventMatchingMask(com.jniwrapper.UInt mask)
public void setCanHide(boolean flag)
public static void static_menuChanged(NSMenu menu)
public com.jniwrapper.Bool isExcludedFromWindowsMenu()
public Id handleSaveScriptCommand(NSScriptCommand command)
public void setReleasedWhenClosed(boolean flag)
public void discardEventsMatchingMask_beforeEvent(com.jniwrapper.UInt mask, NSEvent lastEvent)
discardEventsMatchingMask()
method of the NSWindow Objective-C class.mask
- lastEvent
- public void zoom(Id sender)
public com.jniwrapper.Bool isModalPanel()
public NSSize maxSize()
public static NSWindowDepth static_defaultDepthLimit()
public void orderFrontRegardless()
public com.jniwrapper.Bool isVisible()
public void print(Id sender)
public com.jniwrapper.Bool canBecomeMainWindow()
public static NSRect static_contentRectForFrameRect_styleMask(NSRect fRect, com.jniwrapper.UInt aStyle)
contentRectForFrameRect()
method of the NSWindow Objective-C class.fRect
- aStyle
- public void unregisterDraggedTypes()
public com.jniwrapper.Bool tryToPerform_with(Sel anAction, Id anObject)
tryToPerform()
method of the NSWindow Objective-C class.tryToPerform_with
in class NSResponder
anAction
- anObject
- public NSWindowDepth depthLimit()
public void useOptimizedDrawing(boolean flag)
public com.jniwrapper.Bool isAutodisplay()