com.jniwrapper.macosx.cocoa.nsinputmanager
Interface NSTextInputProtocol
- All Known Implementing Classes:
- NSInputManager, NSTextView
- public interface NSTextInputProtocol
This interface represents NSTextInputProtocol
protocol.
See the protocol documentation at the Apple's site: NSTextInputProtocol
firstRectForCharacterRange
public NSRect firstRectForCharacterRange(NSRange theRange)
attributedSubstringFromRange
public com.jniwrapper.Pointer.Void attributedSubstringFromRange(NSRange theRange)
hasMarkedText
public com.jniwrapper.Bool hasMarkedText()
characterIndexForPoint
public com.jniwrapper.UInt characterIndexForPoint(NSPoint thePoint)
unmarkText
public void unmarkText()
selectedRange
public NSRange selectedRange()
conversationIdentifier
public com.jniwrapper.Int32 conversationIdentifier()
setMarkedText_selectedRange
public void setMarkedText_selectedRange(Id aString,
NSRange selRange)
- This method represents the
setMarkedText()
method of the NSTextInputProtocol Objective-C protocol.
- Parameters:
aString
- selRange
-
insertText
public void insertText(Id aString)
validAttributesForMarkedText
public com.jniwrapper.Pointer.Void validAttributesForMarkedText()
markedRange
public NSRange markedRange()
doCommandBySelector
public void doCommandBySelector(Sel aSelector)