Home » openjdk-7 » sun » awt » im » [javadoc | source]
sun.awt.im
abstract public class: InputMethodManager [javadoc | source]
java.lang.Object
   sun.awt.im.InputMethodManager

Direct Known Subclasses:
    ExecutableInputMethodManager

InputMethodManager is an abstract class that manages the input method environment of JVM. There is only one InputMethodManager instance in JVM that is executed under a separate daemon thread. InputMethodManager performs the following: The mechanism for supporting input method switch is as follows. (Note that this may change in future releases.)
Method from sun.awt.im.InputMethodManager Summary:
findInputMethod,   getDefaultKeyboardLocale,   getInstance,   getTriggerMenuString,   hasMultipleInputMethods,   notifyChangeRequest,   notifyChangeRequestByHotKey,   setInputContext
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.awt.im.InputMethodManager Detail:
 abstract InputMethodLocator findInputMethod(Locale forLocale)
    Tries to find an input method locator for the given locale. Returns null if no available input method locator supports the locale.
 abstract Locale getDefaultKeyboardLocale()
    Gets the default keyboard locale of the underlying operating system.
 public static final InputMethodManager getInstance() 
    Returns the instance of InputMethodManager. This method creates the instance that is unique in the Java VM if it has not been created yet.
 abstract public String getTriggerMenuString()
    Gets a string for the trigger menu item that should be added to the window manager menu. If no need to display the trigger menu item, null is returned.
 abstract boolean hasMultipleInputMethods()
    Returns whether multiple input methods are available or not
 abstract public  void notifyChangeRequest(Component comp)
    Notifies InputMethodManager that input method change has been requested by the user. This notification triggers a popup menu for user selection.
 abstract public  void notifyChangeRequestByHotKey(Component comp)
    Notifies InputMethodManager that input method change has been requested by the user using the hot key combination. This notification triggers a popup menu for user selection.
 abstract  void setInputContext(InputContext inputContext)
    Sets the current input context so that it will be notified of input method changes initiated from the user interface. Set to real input context when activating; to null when deactivating.