Microsoft SDK for Java

handleIMEChar

This method of the InputMethodCallback Interface enables any class that implements InputMethodListener to return a composed character. The character is added to the internal input queue as if this is a character that the user typed. This method allows an InputMethodListener to pass back a composed character that is generated by a series of keystrokes.

Syntax

public void handleIMEChar(long when, char keyChar, int state);

For example, in a Japanese IME, you can type "ka" to send a Katakana character that doesn't exist in a standard English keyboard.

Parameters

when The time that the composed character is generated.
keyChar The key character of the composed character.
state The state when the event occurred.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.