最終更新:2008-08-12 (火) 11:19:27 (3385d)  

NSResponder はてなブックマークを見る
Top / NSResponder

Cocoaのイベントを処理するオブジェクト

メソッド

-(void)keyDown:(NSEvent *) theEvent

受け取りたいイベントをオーバーライドして実装

Changing the First Responder

  • acceptsFirstResponder?
  • becomeFirstResponder?
  • resignFirstResponder?

Managing the Next Responder

  • setNextResponder?:
  • nextResponder

Responding to Mouse Events

  • mouseDown:
  • mouseDragged:
  • mouseUp:
  • mouseMoved:
  • mouseEntered:
  • mouseExited:
  • rightMouseDown?:
  • rightMouseDragged?:
  • rightMouseUp?:
  • otherMouseDown?:
  • otherMouseDragged?:
  • otherMouseUp?:

Responding to Key Events

  • keyDown:
  • keyUp:
  • interpretKeyEvents?:
  • performKeyEquivalent?:
  • performMnemonic:
  • flushBufferedKeyEvents?

Responding to Other Kinds of Events

  • cursorUpdate:
  • flagsChanged: - 修飾キーの状態
  • tabletPoint:
  • tabletProximity:
  • helpRequested:
  • scrollWheel:

Responding to Action Messages

  • cancelOperation:
  • capitalizeWord:
  • centerSelectionInVisibleArea?:
  • changeCaseOfLetter?:
  • complete:
  • deleteBackward:
  • deleteBackwardByDecomposingPreviousCharacter?:
  • deleteForward:
  • deleteToBeginningOfLine?:
  • deleteToBeginningOfParagraph?:
  • deleteToEndOfLine?:
  • deleteToEndOfParagraph?:
  • deleteToMark?:
  • deleteWordBackward?:
  • deleteWordForward?:
  • 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?:
  • moveWordRight?:
  • moveWordRightAndModifySelection?:
  • moveWordLeftAndModifySelection?:
  • pageDown:
  • pageUp:
  • scrollLineDown?:
  • scrollLineUp?:
  • scrollPageDown?:
  • scrollPageUp?:
  • selectAll:
  • selectLine:
  • selectParagraph:
  • selectToMark?:
  • selectWord:
  • setMark:
  • showContextHelp?:
  • swapWithMark?:
  • transpose:
  • transposeWords:
  • uppercaseWord:
  • yank:

Presenting and Customizing Error Information

  • presentError:
  • presentError:modalForWindow?:delegate:didPresentSelector?:contextInfo:
  • willPresentError?:

Dispatching Messages

  • doCommandBySelector?:
  • tryToPerform?:with:

Managing a Responder’s Menu

  • setMenu:
  • menu

Updating the Services Menu

  • validRequestorForSendType?:returnType:

Getting the Undo Manager

  • undoManager

Testing Events

  • shouldBeTreatedAsInkEvent?:

Terminating the Responder Chain

  • noResponderFor?:

Setting the Interface Style

  • setInterfaceStyle?:
  • interfaceStyle

クラス階層

関連