public interface java.awt.event
InputMethodListener


Show All Login
Java SE 6
  
Implements: EventListener
Implemented by: AWTEventMulticaster
Details
The listener interface for receiving input method events. A text editing component has to install an input method event listener in order to work with input methods.

The text editing component also has to provide an instance of InputMethodRequests.
version1.12 11/17/05
since1.2
See also java.awt.event.InputMethodEvent, java.awt.im.InputMethodRequests


Methods
public void caretPositionChanged(InputMethodEvent event)
Invoked when the caret within composed text has changed.
public void inputMethodTextChanged(InputMethodEvent event)
Invoked when the text entered through an input method has changed.