java.lang.Object | |
↳ | sun.awt.im.InputMethodAdapter |
An input method adapter interfaces with the native input methods on a host platform. In general, it looks to the input method framework like a Java input method (that may support a few more locales than a typical Java input method). However, since it often has to work in a slightly hostile environment that's not designed for easy integration into the Java input method framework, it gets some special treatment that's not available to Java input methods.
Licensees are free to modify this class as necessary to implement their host input method adapters.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Disable the native input method.
| |||||||||||
Returns a string with information about the native input method, or
null.
| |||||||||||
Notifies client Window location or status changes
| |||||||||||
Starts reconvertion.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Informs the input method adapter about the component that has the AWT
focus if it's using the input context owning this adapter instance.
| |||||||||||
Informs the input method adapter not to listen to the native events.
| |||||||||||
Returns whether host input methods can support below-the-spot input.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Disable the native input method. This method is provided for explicitly turning off the native IM. The native IM is not turned off when the native input method is deactivated. This method is always called on AWT EDT. See details in bug 6226489.
Returns a string with information about the native input method, or null.
Notifies client Window location or status changes
location | client window's bounds on the screen; or null if
the client window is iconified or invisible
|
---|
Starts reconvertion. An implementing host adapter has to override this method if it can support reconvert().
UnsupportedOperationException | when the adapter does not override the method. |
---|
Informs the input method adapter about the component that has the AWT focus if it's using the input context owning this adapter instance.
Informs the input method adapter not to listen to the native events. This method is called when a Java input method is active.
Returns whether host input methods can support below-the-spot input. Returns false by default.