Microsoft SDK for Java

handledKey

This method of the InputManagerListener Interface is called by an IME class that handles the keystrokes from the native system.

Syntax

public boolean handledKey(InputMethodCallback imeCallback, long when, int keyCode, int keyChar, int state);

Return Value

Returns true if InputManagerListener processes the keystroke; otherwise, returns false.

Parameters

imeCallback The InputMethodCallback object that receives keystrokes from the native system.
when The time that the composed character is generated at.
keyCode The ASCII key code of the character.
keyChar The key character of the composed character.
state The state when the event occurred.

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