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


Method Summary
 com.jniwrapper.Pointer.Void attributedSubstringFromRange(NSRange theRange)
           
 com.jniwrapper.UInt characterIndexForPoint(NSPoint thePoint)
           
 com.jniwrapper.Int32 conversationIdentifier()
           
 void doCommandBySelector(Sel aSelector)
           
 NSRect firstRectForCharacterRange(NSRange theRange)
           
 com.jniwrapper.Bool hasMarkedText()
           
 void insertText(Id aString)
           
 NSRange markedRange()
           
 NSRange selectedRange()
           
 void setMarkedText_selectedRange(Id aString, NSRange selRange)
          This method represents the setMarkedText() method of the NSTextInputProtocol Objective-C protocol.
 void unmarkText()
           
 com.jniwrapper.Pointer.Void validAttributesForMarkedText()
           
 

Method Detail

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)