Important:
NSInputServerMouseTracker protocol is deprecated in Mac OS X v10.6 and later. To create input methods, use the Input Method Kit, described in Input Method Kit Framework Reference. For information about text input in Cocoa, see NSTextInputContext Class Reference.
| Adopted by | |
| Framework | /System/Library/Frameworks/AppKit.framework |
| Availability | Available in Mac OS X v10.0 and later. |
| Companion guide | |
| Declared in | NSInputServer.h |
Important: NSInputServerMouseTracker protocol is deprecated in Mac OS X v10.6 and later. To create input methods, use the Input Method Kit, described in Input Method Kit Framework Reference. For information about text input in Cocoa, see NSTextInputContext Class Reference.
An NSInputServiceProvider object (an "NSInputServer" subclass object or a delegate of an NSInputServer object) may need to implement this protocol. See the NSInputServiceProvider protocol description.
The methods in this protocol differ from typical mouse events in that they have an additional argument which is the index of the character within the text view’s text storage. When an text view object forwards a mouse event to the input manager (with handleMouseEvent:), the input manager calls the text view’s characterIndexForPoint: method to get the index, which it then passes on to the appropriate method in this protocol.
– mouseDownOnCharacterIndex:atCoordinate:withModifier:client: required method Deprecated in Mac OS X v10.6
– mouseDraggedOnCharacterIndex:atCoordinate:withModifier:client: required method Deprecated in Mac OS X v10.6
– mouseUpOnCharacterIndex:atCoordinate:withModifier:client: required method Deprecated in Mac OS X v10.6
Last updated: 2008-10-20