net.rim.device.api.input
Interface ITextInputConnector

All Superinterfaces:
IInputLocationRequests

public interface ITextInputConnector
extends IInputLocationRequests

Implementing this interface, a 3rd party may define an input framework request handler and a listener for receiving text input events from the input framework. It's to be registered with an InputHelper instance calling InputHelper#setTextInputConnector(ITextInputConnector listener)

Since:
BlackBerry API 6.0.0

Method Summary
 void caretChanged(int caretPosition)
          Invoked when the caret position has changed.
 void textChanged(int start, int end)
          Invoked when the inputed text has changed and invoked when text attributes have changed.
 
Methods inherited from interface net.rim.device.api.im.IInputLocationRequests
getLocationOffset, getTextLocation
 



Method Detail

textChanged

void textChanged(int start,
                 int end)
Invoked when the inputed text has changed and invoked when text attributes have changed.

Since:
BlackBerry API 6.0.0

caretChanged

void caretChanged(int caretPosition)
Invoked when the caret position has changed.

Since:
BlackBerry API 6.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal