Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSResponderMBS class.

NSResponderMBS.beginGestureWithEvent(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has begun a touch gesture.

The event will be sent to the view under the touch in the key window.
Available in Mac OS X v10.6 and later.

NSResponderMBS.cancelOperation

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to cancel the current operation.

This method is bound to the Escape and Command-. (period) keys. The key window first searches the view hierarchy for a view whose key equivalent is Escape or Command-., whichever was entered. If none of these views handles the key equivalent, the window sends a default action message of cancelOperation: to the first responder and from there the message travels up the responder chain.

If no responder in the responder chain implements cancelOperation:, the key window searches the view hierarchy for a view whose key equivalent is Escape (note that this may be redundant if the original key equivalent was Escape). If no such responder is found, then a cancel: action message is sent to the first responder in the responder chain that implements it.

NSResponder declares but does not implement this method.

NSResponderMBS.capitalizeWord

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to capitalize the word or words surrounding the insertion point or selection, expanding the selection if necessary.

If either end of the selection partially covers a word, that entire word is made lowercase. The sender argument is typically the object that invoked this method. NSResponder declares but doesn't implement this method.

NSResponderMBS.centerSelectionInVisibleArea

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to scroll the selection, whatever it is, inside its visible area.

NSResponder declares but doesn't implement this method.

NSResponderMBS.changeCaseOfLetter

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to change the case of a letter or letters in the selection, perhaps by opening a panel with capitalization options or by cycling through possible case combinations.

NSResponder declares but doesn't implement this method.

NSResponderMBS.complete

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to complete an operation in progress or a partially constructed element.

This method can be interpreted, for example, as a request to attempt expansion of a partial word, such as for expanding a glossary shortcut, or to close a graphics item being drawn. NSResponder declares but doesn't implement this method.

NSResponderMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The private constructor.

NSResponderMBS.cursorUpdate(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the mouse cursor has moved into a cursor rectangle.

Override this method to set the cursor image. The default implementation uses cursor rectangles, if cursor rectangles are currently valid. If they are not, it calls super to send the message up the responder chain.

If the responder implements this method, but decides not to handle a particular event, it should invoke the superclass implementation of this method.
Available in Mac OS X v10.5 and later.

NSResponderMBS.endGestureWithEvent(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has ended a touch gesture.

Available in Mac OS X v10.6 and later.

NSResponderMBS.flagsChanged(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has pressed or released a modifier key (Shift, Control, and so on).

The default implementation simply passes this message to the next responder.

NSResponderMBS.flushBufferedKeyEvents

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Overridden by subclasses to clear any unprocessed key events.

NSResponderMBS.helpRequested(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Displays context-sensitive help for the receiver if such exists; otherwise passes this message to the next responder.

NSWindow invokes this method automatically when the user clicks for help—while processing theEvent. Subclasses need not override this method, and application code shouldn't directly invoke it.

NSResponderMBS.keyDown(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has pressed a key.

The receiver can interpret theEvent itself, or pass it to the system input manager using interpretKeyEvents. The default implementation simply passes this message to the next responder.

NSResponderMBS.keyUp(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has released a key.

The default implementation simply passes this message to the next responder.

NSResponderMBS.lowercaseWord

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to make lowercase every letter in the word or words surrounding the insertion point or selection, expanding the selection if necessary.

If either end of the selection partially covers a word, that entire word is made lowercase. NSResponder declares, but doesn't implement this method.

NSResponderMBS.nextResponder as NSResponderMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The next responder in the responder chain.

(Read and Write computed property)

NSResponderMBS.otherMouseDown(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has pressed a mouse button other than the left or right one.

The default implementation simply passes this message to the next responder.
Available in Mac OS X v10.1 and later.

NSResponderMBS.otherMouseDragged(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has moved the mouse with a button other than the left or right button pressed.

The default implementation simply passes this message to the next responder.
Available in Mac OS X v10.1 and later.

NSResponderMBS.otherMouseUp(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has released a mouse button other than the left or right button.

The default implementation simply passes this message to the next responder.

NSResponderMBS.pageDown

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to scroll the receiver down (or back) one page in its scroll view, also moving the insertion point to the top of the newly displayed page.

NSResponder declares but doesn't implement this method.

NSResponderMBS.pageDownAndModifySelection

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to scroll the receiver down (or back) one page in its scroll view, also moving the insertion point to the top of the newly displayed page. The selection is expanded or contracted as required.

NSResponder declares but doesn't implement this method.
Available in Mac OS X v10.6 and later.

NSResponderMBS.pageUp

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to scroll the receiver up (or forward) one page in its scroll view, also moving the insertion point to the top of the newly displayed page.

NSResponder declares but doesn't implement this method.

NSResponderMBS.pageUpAndModifySelection

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to scroll the receiver up (or forward) one page in its scroll view, also moving the insertion point to the top of the newly displayed page. The selection is expanded or contracted as necessary.

NSResponder declares but doesn't implement this method.
Available in Mac OS X v10.6 and later.

NSResponderMBS.performMnemonic(theString as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Overridden by subclasses to handle a mnemonic.

If the character code or codes in theString match the receiver's mnemonic, the receiver should perform the mnemonic and return true. The default implementation does nothing and returns false. Mnemonics are not supported in Mac OS X.

NSResponderMBS.presentError(e as NSErrorMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Presents an error alert to the user as an application-modal dialog.

e: An object containing information about an error.

The alert displays information found in the NSError object e; this information can include error description, recovery suggestion, failure reason, and button titles (all localized). The method returns true if error recovery succeeded and false otherwise. For error recovery to be attempted, an recovery-attempter object (that is, an object conforming to the NSErrorRecoveryAttempting informal protocol) must be associated with e.

The default implementation of this method sends willPresentError to self. By doing this, NSResponder gives subclasses an opportunity to customize error presentation. It then forwards the message, passing any customized error object, to the next responder; if there is no next responder, it passes the error object to NSApp, which displays a document-modal error alert. When the user dismisses the alert, any recovery attempter associated with the error object is given a chance to recover from the error. See the class description for the precise route up the responder chain (plus document and controller objects) this message might travel.

Available in OS X v10.4 and later.

NSResponderMBS.rightMouseDown(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has pressed the right mouse button.

The default implementation simply passes this message to the next responder.

NSResponderMBS.rightMouseDragged(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has moved the mouse with the right button pressed.

The default implementation simply passes this message to the next responder.

NSResponderMBS.rightMouseUp(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has released the right mouse button.

The default implementation simply passes this message to the next responder.

NSResponderMBS.rotateWithEvent(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has begun a rotation gesture.

The event will be sent to the view under the touch in the key window.
Available in Mac OS X v10.6 and later.

NSResponderMBS.tabletPoint(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that a tablet-point event has occurred.

Tablet events are represented by NSEvent objects of type NSTabletPoint. They describe the current state of a transducer (that is, a pointing device) that is in proximity to its tablet, reflecting changes such as location, pressure, tilt, and rotation. See the NSEvent reference for the methods that allow you to extract this and other information from theEvent. The default implementation of NSResponder passes the message to the next responder.
Available in Mac OS X v10.4 or later.

NSResponderMBS.tabletProximity(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that a tablet-proximity event has occurred.

Tablet events are represented by NSEvent objects of type NSTabletProximity. Tablet devices generate proximity events when the transducer (pointing device) nears a tablet and when it moves away from a tablet. From an event object of this type you can extract information about the kind of device and its capabilities, as well as the relation of this tablet-proximity event to various tablet-point events; see the NSEvent reference for details. The default implementation passes the message to the next responder.
Available in Mac OS X v10.4 or later.

NSResponderMBS.transpose

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Transposes the characters to either side of the insertion point and advances the insertion point past both of them. Does nothing to a selected range of text.

NSResponder declares but doesn't implement this method.

NSResponderMBS.transposeWords

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Transposes the words to either side of the insertion point and advances the insertion point past both of them. Does nothing to a selected range of text.

NSResponder declares but doesn't implement this method.

NSResponderMBS.undoManager as NSUndoManagerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The undo manager for this item.

Subclasses may implement this property.

NSResponderMBS.uppercaseWord

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to make uppercase every letter in the word or words surrounding the insertion point or selection, expanding the selection if necessary.

If either end of the selection partially covers a word, that entire word is made uppercase. NSResponder declares but doesn't implement this method.

NSResponderMBS.yank

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Replaces the insertion point or selection with text from the kill buffer.

If invoked sequentially, cycles through the kill buffer in reverse order. See "Standard Action Methods for Selecting and Editing" for more information on the kill buffer. NSResponder declares but doesn't implement this method.

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...