Up
Authors
- Scott Christley (
scottc@net-community.com
)
-
Abstract class which is basis of command and event
processing
Copyright: (C) 1996,1999 Free Software Foundation, Inc.
- Declared in:
- AppKit/NSResponder.h
- Conforms to:
- NSCoding
Availability: OpenStep
Description forthcoming.
Instance Variables
Method summary
- (BOOL)
acceptsFirstResponder;
Availability: MacOS-X 10.0.0
Returns YES
if the receiver is able to
become the first responder, NO
otherwise.
- (BOOL)
becomeFirstResponder;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
doCommandBySelector: (SEL)aSelector;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
encodeWithCoder: (
NSCoder*)aCoder;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
flagsChanged: (
NSEvent*)theEvent;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
flushBufferedKeyEvents;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
helpRequested: (
NSEvent*)theEvent;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (id)
initWithCoder: (
NSCoder*)aDecoder;
Availability: MacOS-X 10.0.0
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: MacOS-X 10.0.0
Description forthcoming.
- (void)
keyUp: (
NSEvent*)theEvent;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (
NSMenu*)
menu;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
mouseDown: (
NSEvent*)theEvent;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
mouseDragged: (
NSEvent*)theEvent;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
mouseEntered: (
NSEvent*)theEvent;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
mouseExited: (
NSEvent*)theEvent;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
mouseMoved: (
NSEvent*)theEvent;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
mouseUp: (
NSEvent*)theEvent;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (
NSResponder*)
nextResponder;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
noResponderFor: (SEL)eventSelector;
Availability: MacOS-X 10.0.0
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: MacOS-X 10.0.0
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: MacOS-X 10.0.0
Description forthcoming.
- (void)
rightMouseDown: (
NSEvent*)theEvent;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
rightMouseDragged: (
NSEvent*)theEvent;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
rightMouseUp: (
NSEvent*)theEvent;
Availability: MacOS-X 10.0.0
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: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
shouldBeTreatedAsInkEvent: (
NSEvent*)theEvent;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
tryToPerform: (SEL)anAction
with: (id)anObject;
Availability: MacOS-X 10.0.0
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: MacOS-X 10.0.0
Description forthcoming.
- (
NSError*)
willPresentError: (
NSError*)error;
Availability: MacOS-X 10.4.0
Description forthcoming.
Instance Variables for NSResponder Class
@protected int _interface_style;
Availability: MacOS-X 10.0.0
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: MacOS-X 10.0.0
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.
Method summary
- (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