Packages
 In this topic

*Methods

 

Packages   PreviousThis Package
Package com.ms.util.InputMethod   Previous This
Package

 


Interface InputMethodMessageListener

public interface InputMethodMessageListener
{
  // Methods
  public boolean handleIMEMessage( InputMethodMessage IMEMessage ) ;
}

This interface is implemented by classes derived from java.awt.Component to handle Input Method Editor (IME) messages.

Methods

handleIMEMessage

public boolean handleIMEMessage( InputMethodMessage IMEMessage ) ;

Handles IME-related messages. The class that implements the InputMethodMessageListener interface needs to have current focus for IME messages to be successfully handled.

Return Value:

Returns true if the class that implements the interface draws its own custom IME user interface. If the implementation method returns false, IME messages are directed to the InputMethodListener, which draws the IME user interface.

ParameterDescription
IMEMessage The IME-related message (which is extended from InputMethodMessage). Two examples are IMENotifyMessage and IMECompositionMessage.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.