| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract InputMethod | createInputMethod()
Redeclares java. Creates a new instance of the corresponding input method. |
| public Locale[] | getAvailableLocales()
Implements java. Returns the locales supported by the corresponding input method. |
| public synchronized String | getInputMethodDisplayName(Locale inputLocale, Locale displayLanguage)
Implements java. Returns the user-visible name of the corresponding input method for the given input locale in the language in which the name will be displayed. |
| public Image | getInputMethodIcon(Locale inputLocale)
Implements java. Returns an icon for the corresponding input method. |
| pack-priv static Locale | |
| public boolean | hasDynamicLocaleList()
Implements java. Returns whether the list of available locales can change at runtime. |
| locale | back to summary |
|---|---|
| private static Locale locale | |
| X11InputMethodDescriptor | back to summary |
|---|---|
| public X11InputMethodDescriptor() | |
| createInputMethod | back to summary |
|---|---|
| public abstract InputMethod createInputMethod() throws Exception Redeclares java. Doc from java. Creates a new instance of the corresponding input method.
| |
| getAvailableLocales | back to summary |
|---|---|
| public Locale[] getAvailableLocales() Implements java. Doc from java. Returns the locales supported by the corresponding input method.
The locale may describe just the language, or may also include
country and variant information if needed.
The information is used to select input methods by locale
(
Only the input method's primary locales should be returned.
For example, if a Japanese input method also has a pass-through
mode for Roman characters, typically still only Japanese would
be returned. Thus, the list of locales returned is typically
a subset of the locales for which the corresponding input method's
implementation of
If
| |
| getInputMethodDisplayName | back to summary |
|---|---|
| public synchronized String getInputMethodDisplayName(Locale inputLocale, Locale displayLanguage) Implements java. Doc from java. Returns the user-visible name of the corresponding input method for the given input locale in the language in which the name will be displayed.
The inputLocale parameter specifies the locale for which text
is input.
This parameter can only take values obtained from this descriptor's
If a name for the desired display language is not available, the method may fall back to some other language.
| |
| getInputMethodIcon | back to summary |
|---|---|
| public Image getInputMethodIcon(Locale inputLocale) Implements java. Doc from java. Returns an icon for the corresponding input method. The icon may be used by a user interface for selecting input methods.
The inputLocale parameter specifies the locale for which text
is input.
This parameter can only take values obtained from this descriptor's
The icon's size should be 16×16 pixels.
| |
| getSupportedLocale | back to summary |
|---|---|
| pack-priv static Locale getSupportedLocale() returns supported locale. Currently this method returns the locale in which the VM is started since Solaris doesn't provide a way to determine the login locale. | |
| hasDynamicLocaleList | back to summary |
|---|---|
| public boolean hasDynamicLocaleList() Implements java. Doc from java. Returns whether the list of available locales can change at runtime. This may be the case, for example, for adapters that access real input methods over the network.
| |