|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectguk.im.GateIMDescriptor
public class GateIMDescriptor
Provides a way for the Gate input method to be discovered by the system.
java.awt.im,
java.awt.im.spi| Constructor Summary | |
|---|---|
GateIMDescriptor()
Default constructor. |
|
| Method Summary | |
|---|---|
InputMethod |
createInputMethod()
Creates a new GateIM object and returns a handle. |
Locale[] |
getAvailableLocales()
Gets an Array with the locales supported by the Gate input method. |
String |
getInputMethodDisplayName(Locale inputLocale,
Locale displayLanguage)
Returns the display name for the input method for a given locale. |
Image |
getInputMethodIcon(Locale inputLocale)
Provides an icon for the gate input method. |
boolean |
hasDynamicLocaleList()
Is the available locales list dynamic. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GateIMDescriptor()
| Method Detail |
|---|
public Locale[] getAvailableLocales()
throws AWTException
getAvailableLocales in interface InputMethodDescriptorAWTExceptionpublic boolean hasDynamicLocaleList()
hasDynamicLocaleList in interface InputMethodDescriptor
public String getInputMethodDisplayName(Locale inputLocale,
Locale displayLanguage)
getInputMethodDisplayName in interface InputMethodDescriptorinputLocale - the locale for which the display name is soughtdisplayLanguage - the current locale to be used for displaying the
namepublic Image getInputMethodIcon(Locale inputLocale)
getInputMethodIcon in interface InputMethodDescriptorinputLocale -
public InputMethod createInputMethod()
throws Exception
GateIM object and returns a handle.
createInputMethod in interface InputMethodDescriptorException
|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||