Microsoft SDK for Java

IMECompositionMessage Class Constructors

The IMECompositionMessage Class contains the following constructors:

IMECompositionMessage(int id)
IMECompositionMessage(int id, int keyCode, int keyChar, String compStr)

IMECompositionMessage(int id)

Creates an Input Method Composition message.

Syntax

public IMECompositionMessage(int id);

Parameters

id The message identifier, which can be one of the following:

START_COMPOSITION
END_COMPOSITION
CHANGE_COMPOSITION
UNKNOWN


IMECompositionMessage(int id, int keyCode, int keyChar, String compStr)

Creates an Input Method Composition message that has a specific key code, key character, and composition string.

Syntax

public IMECompositionMessage(int id, int keyCode, int keyChar, String compStr);

Parameters

id The message identifier, which can be one of the following:

START_COMPOSITION
END_COMPOSITION
CHANGE_COMPOSITION
UNKNOWN

keyCode The message key code.
keyChar The message key character.
compStr The message composition string.

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