PATH  Documentation > Mac OS X > Application Kit Reference: Java

Table of Contents

NSInputManager


Inherits from:
NSObject
Implements:
NSTextInput
Package:
com.apple.yellow.application


Class Description


Most programs never need to interact with an input manager. The system text object, and all user interface objects that accept textual input, already deal with this typically through NSResponder.




Interfaces Implemented


Forthcoming.


Method Types


Constructors
NSInputManager
TBD Class Method Type heading
currentInputManager
cycleToNextInputLanguage
cycleToNextInputServerInLanguage
TBD Instance Method Type heading
attributedSubstringWithRange
characterIndexForPoint
conversationIdentifier
doCommandBySelector
firstRectForCharacterRange
hasMarkedText
image
insertText
language
localizedInputManagerName
markedRange
selectedRange
server
setMarkedTextAndSelectedRange
unmarkText
validAttributesForMarkedText
wantsToDelayTextChangeNotifications
wantsToHandleMouseEvents
wantsToInterpretAllKeystrokes


Constructors



NSInputManager

public NSInputManager()

Description forthcoming.

public NSInputManager( String aString, String aString)

Description forthcoming.


Static Methods



currentInputManager

public static NSInputManager currentInputManager()

The "current input manager" is the one that is receiving input events at the time this method is called. It may change out from under you, so don't cache the return value.

cycleToNextInputLanguage

public static void cycleToNextInputLanguage(Object sender)

Description forthcoming.

cycleToNextInputServerInLanguage

public static void cycleToNextInputServerInLanguage(Object anObject)

Description forthcoming.


Instance Methods



attributedSubstringWithRange

public NSAttributedString attributedSubstringWithRange(NSRange aRange)

Description forthcoming.

characterIndexForPoint

public int characterIndexForPoint(NSPoint aPoint)

Description forthcoming.

conversationIdentifier

public int conversationIdentifier()

Description forthcoming.

doCommandBySelector

public void doCommandBySelector(NSSelector aSelector)

Description forthcoming.

firstRectForCharacterRange

public NSRect firstRectForCharacterRange(NSRange aRange)

Description forthcoming.

hasMarkedText

public boolean hasMarkedText()

Description forthcoming.

image

public NSImage image()

Description forthcoming.

insertText

public void insertText(Object anObject)

Description forthcoming.

language

public String language()

Description forthcoming.

localizedInputManagerName

public String localizedInputManagerName()

Description forthcoming.

markedRange

public NSRange markedRange()

Description forthcoming.

selectedRange

public NSRange selectedRange()

Description forthcoming.

server

public NSInputServer server()

Description forthcoming.

setMarkedTextAndSelectedRange

public void setMarkedTextAndSelectedRange( Object anObject, NSRange aRange)

Description forthcoming.

unmarkText

public void unmarkText()

Description forthcoming.

validAttributesForMarkedText

public NSArray validAttributesForMarkedText()

Description forthcoming.

wantsToDelayTextChangeNotifications

public boolean wantsToDelayTextChangeNotifications()

Returns true when the input method (language) prefers to delay text change notification until the input is actually committed.

wantsToHandleMouseEvents

public boolean wantsToHandleMouseEvents()

Description forthcoming.

wantsToInterpretAllKeystrokes

public boolean wantsToInterpretAllKeystrokes()

Description forthcoming.


Table of Contents