Up
Authors
Scott Christley (scottc@net-community.com
)
Date: Generated at 2025-02-11 22:28:02 +0100
Abstract class which is basis of command and event
processing
Copyright: (C) 1996,1999 Free Software Foundation, Inc.
class_NSResponder
NSObject
NSObject
NSResponder
NSResponder
NSObject->NSResponder
p_NSCoding
NSCoding
p_NSCoding->NSResponder
Declared in:
AppKit/NSResponder.h
Conforms to:
NSCoding
Availability: OpenStep
Description forthcoming.
Instance Variables
- (BOOL)
acceptsFirstResponder ;
Availability: OpenStep
Returns YES
if the receiver is able to
become the first responder, NO
otherwise.
- (BOOL)
becomeFirstResponder ;
Availability: OpenStep
Description forthcoming.
- (void)
doCommandBySelector: (SEL)aSelector;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
encodeWithCoder: (
NSCoder *)aCoder;
Availability: OpenStep
Description forthcoming.
- (void)
flagsChanged: (
NSEvent *)theEvent;
Availability: OpenStep
Description forthcoming.
- (void)
flushBufferedKeyEvents ;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
helpRequested: (
NSEvent *)theEvent;
Availability: OpenStep
Description forthcoming.
- (id)
initWithCoder: (
NSCoder *)aDecoder;
Availability: OpenStep
Description forthcoming.
- (void)
insertText: (id)aString;
Availability: MacOS-X 10.0.0
Tells the receiver to insert the given string. In a
text view the text is typically inserted at the
insertion point, and replaces any selection.
Subclasses should override this method. The
implementation in NSResponder just sends
the message on to the next responder.
Normally, aString will be an
NSString, but in some cases, it might be an
NSAttributedString.
- (
NSInterfaceStyle )
interfaceStyle ;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
interpretKeyEvents: (
NSArray *)eventArray;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
keyDown: (
NSEvent *)theEvent;
Availability: OpenStep
Description forthcoming.
- (void)
keyUp: (
NSEvent *)theEvent;
Availability: OpenStep
Description forthcoming.
- (
NSMenu *)
menu ;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
mouseDown: (
NSEvent *)theEvent;
Availability: OpenStep
Description forthcoming.
- (void)
mouseDragged: (
NSEvent *)theEvent;
Availability: OpenStep
Description forthcoming.
- (void)
mouseEntered: (
NSEvent *)theEvent;
Availability: OpenStep
Description forthcoming.
- (void)
mouseExited: (
NSEvent *)theEvent;
Availability: OpenStep
Description forthcoming.
- (void)
mouseMoved: (
NSEvent *)theEvent;
Availability: OpenStep
Description forthcoming.
- (void)
mouseUp: (
NSEvent *)theEvent;
Availability: OpenStep
Description forthcoming.
- (
NSResponder *)
nextResponder ;
Availability: OpenStep
Description forthcoming.
- (void)
noResponderFor: (SEL)eventSelector;
Availability: OpenStep
Description forthcoming.
- (void)
otherMouseDown: (
NSEvent *)theEvent;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
otherMouseDragged: (
NSEvent *)theEvent;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
otherMouseUp: (
NSEvent *)theEvent;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
performKeyEquivalent: (
NSEvent *)theEvent;
Availability: OpenStep
Description forthcoming.
- (BOOL)
performMnemonic: (
NSString *)aString;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
presentError: (
NSError *)error;
Availability: MacOS-X 10.4.0
Description forthcoming.
- (void)
presentError: (
NSError *)error
modalForWindow: (
NSWindow *)window
delegate: (id)delegate
didPresentSelector: (SEL)sel
contextInfo: (void*)context;
Availability: MacOS-X 10.4.0
Description forthcoming.
- (BOOL)
resignFirstResponder ;
Availability: OpenStep
Description forthcoming.
- (void)
rightMouseDown: (
NSEvent *)theEvent;
Availability: OpenStep
Description forthcoming.
- (void)
rightMouseDragged: (
NSEvent *)theEvent;
Availability: OpenStep
Description forthcoming.
- (void)
rightMouseUp: (
NSEvent *)theEvent;
Availability: OpenStep
Description forthcoming.
- (void)
scrollWheel: (
NSEvent *)theEvent;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setInterfaceStyle: (
NSInterfaceStyle )aStyle;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setMenu: (
NSMenu *)aMenu;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setNextResponder: (
NSResponder *)aResponder;
Availability: OpenStep
Description forthcoming.
- (BOOL)
shouldBeTreatedAsInkEvent: (
NSEvent *)theEvent;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
tryToPerform: (SEL)anAction
with: (id)anObject;
Availability: OpenStep
If the receiver responds to anAction , it
performs that method with anObject as
its argument, discards any return value, and return
YES
. Otherwise, the next
responder in the chain is asked to perform
anAction and the result of that is
returned. If no responder in the chain is
able to respond to anAction , then
NO
is returned.
- (
NSUndoManager *)
undoManager ;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (id)
validRequestorForSendType: (
NSString *)typeSent
returnType: (
NSString *)typeReturned;
Availability: OpenStep
Description forthcoming.
- (
NSError *)
willPresentError: (
NSError *)error;
Availability: MacOS-X 10.4.0
Description forthcoming.
Instance Variables for NSResponder Class
@protected int
_interface_style ;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private , it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSResponder*
_next_responder ;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private , it is
intended for internal use within the package, and
you should not use the variable in other code.
Declared in:
AppKit/NSResponder.h
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
cancelOperation: (id)sender;
Availability: MacOS-X 10.3.0
Description forthcoming.
- (void)
capitalizeWord: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
centerSelectionInVisibleArea: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
changeCaseOfLetter: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
complete: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
deleteBackward: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
deleteBackwardByDecomposingPreviousCharacter: (id)sender;
Availability: MacOS-X 10.3.0
Description forthcoming.
- (void)
deleteForward: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
deleteToBeginningOfLine: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
deleteToBeginningOfParagraph: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
deleteToEndOfLine: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
deleteToEndOfParagraph: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
deleteToMark: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
deleteWordBackward: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
deleteWordForward: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
indent: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
insertBacktab: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
insertContainerBreak: (id)sender;
Availability: MacOS-X 10.4.0
Description forthcoming.
- (void)
insertLineBreak: (id)sender;
Availability: MacOS-X 10.4.0
Description forthcoming.
- (void)
insertNewline: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
insertNewlineIgnoringFieldEditor: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
insertParagraphSeparator: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
insertTab: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
insertTabIgnoringFieldEditor: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
lowercaseWord: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveBackward: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveBackwardAndModifySelection: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveDown: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveDownAndModifySelection: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveForward: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveForwardAndModifySelection: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveLeft: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveLeftAndModifySelection: (id)sender;
Availability: MacOS-X 10.3.0
Description forthcoming.
- (void)
moveRight: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveRightAndModifySelection: (id)sender;
Availability: MacOS-X 10.3.0
Description forthcoming.
- (void)
moveToBeginningOfDocument: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveToBeginningOfLine: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveToBeginningOfParagraph: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveToEndOfDocument: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveToEndOfLine: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveToEndOfParagraph: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveUp: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveUpAndModifySelection: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveWordBackward: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveWordBackwardAndModifySelection: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveWordForward: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveWordForwardAndModifySelection: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
moveWordLeft: (id)sender;
Availability: MacOS-X 10.3.0
Description forthcoming.
- (void)
moveWordLeftAndModifySelection: (id)sender;
Availability: MacOS-X 10.3.0
Description forthcoming.
- (void)
moveWordRight: (id)sender;
Availability: MacOS-X 10.3.0
Description forthcoming.
- (void)
moveWordRightAndModifySelection: (id)sender;
Availability: MacOS-X 10.3.0
Description forthcoming.
- (void)
pageDown: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
pageUp: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
scrollLineDown: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
scrollLineUp: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
scrollPageDown: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
scrollPageUp: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
scrollToBeginningOfDocument: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
scrollToEndOfDocument: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
selectAll: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
selectLine: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
selectParagraph: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
selectToMark: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
selectWord: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setMark: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
showContextHelp: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
swapWithMark: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
tabletPoint: (
NSEvent *)event;
Availability: MacOS-X 10.4.0
Description forthcoming.
- (void)
tabletProximity: (
NSEvent *)event;
Availability: MacOS-X 10.4.0
Description forthcoming.
- (void)
transpose: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
transposeWords: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
uppercaseWord: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
yank: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
Up