API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.im. InputContext View Source
Author(s)
JavaSoft Asia/Pacific
Since
1.2
Version
1.37, 12/03/05
Serial
Hierarchy
 Object
      InputContext
Implements
Subclasses
Description
public class InputContext
  Provides methods to control text input facilities such as input methods and keyboard layouts.
Constructors
protected InputContext ()
  Constructs an InputContext.
Methods
Hide/Show inherited methods
public void dispatchEvent (AWTEvent event)
  Dispatches an event to the active input method.
public void dispose ()
  Releases the resources used by this input context.
public void endComposition ()
  Ends any input composition that may currently be going on in this context.
public Object getInputMethodControlObject ()
  Returns a control object from the current input method, or null.
publicstatic InputContext getInstance ()
Returns a new InputContext instance.
public Locale getLocale ()
  Returns the current locale of the current input method or keyboard layout.
public boolean isCompositionEnabled ()
  Determines whether the current input method is enabled for composition.
public void reconvert ()
  Asks the current input method to reconvert text from the current client component.
public void removeNotify (Component client)
  Notifies the input context that a client component has been removed from its containment hierarchy, or that input method support has been disabled for the component.
public boolean selectInputMethod (Locale locale)
  Attempts to select an input method or keyboard layout that supports the given locale, and returns a value indicating whether such an input method or keyboard layout has been successfully selected.
public void setCharacterSubsets (Subset subsets)
  Sets the subsets of the Unicode character set that input methods of this input context should be allowed to input.
public void setCompositionEnabled (boolean enable)
  Enables or disables the current input method for composition, depending on the value of the parameter enable.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar