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-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.