java.awt.event
Interface InputMethodListener
- All Known Implementing Classes:
- AWTEventMulticaster
- public abstract interface InputMethodListener
- extends EventListener
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.
- See Also:
InputMethodEvent
,
InputMethodRequests
inputMethodTextChanged
public void inputMethodTextChanged(InputMethodEvent event)
- Invoked when the text entered through an input method has changed.
caretPositionChanged
public void caretPositionChanged(InputMethodEvent event)
- Invoked when the caret within composed text has changed.
Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.