|
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.GateIM
public class GateIM
The Gate input method
Constructor Summary | |
---|---|
GateIM(Map supportedLocales)
Constructs a new Gate input method |
Method Summary | |
---|---|
void |
activate()
Activates this input method |
void |
deactivate(boolean isTemporary)
Deactivates this input method |
void |
dispatchEvent(AWTEvent event)
Called by the system when an input event occures in a component that uses this input method. |
void |
dispose()
Disposes this input method releasing all the memory. |
void |
endComposition()
Ends the curent composition. |
InputMethodContext |
getContext()
Returns theinput context for this input method. |
Object |
getControlObject()
Gives the clients a chance to control the bevaviour of this input method by returning a handle to itself. |
GateIMDescriptor |
getDescriptor()
gets the descriptor class for this input method |
static String |
getIMBase()
Gets the path inside the classpath where the input methods should be found |
static Font |
getKeyboardFont()
|
Locale |
getLocale()
Gets the active locale |
void |
hideWindows()
Hides all the windows displayed by the input method. |
boolean |
isCompositionEnabled()
Is this input method enabled? |
protected void |
loadLocale(Locale locale)
Loads a new locale if it's not already loaded. |
void |
notifyClientWindowChange(Rectangle bounds)
Called by the system when the client window has changed size or position. |
void |
reconvert()
Throws a UnsupportedOperationException as this input method does not support recnversion. |
void |
removeNotify()
Called by the system when a client unregisters to this input method. |
void |
setCharacterSubsets(Character.Subset[] subsets)
Restricts the character ranges valid for this input method output. |
void |
setCompositionEnabled(boolean enable)
Enables this input method for composition |
static void |
setIMBase(String path)
Sets the default path to be used when looking for input methods. |
void |
setInputMethodContext(InputMethodContext context)
Provides the input method with a context. |
boolean |
setLocale(Locale locale)
Selects the active locale |
void |
setMapVisible(boolean mapvis)
Should the virtual keyboard map be visible? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GateIM(Map supportedLocales)
supportedLocales
- Method Detail |
---|
public void setInputMethodContext(InputMethodContext context)
setInputMethodContext
in interface InputMethod
context
- public boolean setLocale(Locale locale)
setLocale
in interface InputMethod
locale
- public Locale getLocale()
getLocale
in interface InputMethod
public GateIMDescriptor getDescriptor()
public void setCharacterSubsets(Character.Subset[] subsets)
setCharacterSubsets
in interface InputMethod
subsets
- public void setCompositionEnabled(boolean enable)
setCompositionEnabled
in interface InputMethod
enable
- public boolean isCompositionEnabled()
isCompositionEnabled
in interface InputMethod
public void reconvert()
reconvert
in interface InputMethod
public void dispatchEvent(AWTEvent event)
dispatchEvent
in interface InputMethod
event
- public void notifyClientWindowChange(Rectangle bounds)
notifyClientWindowChange
in interface InputMethod
bounds
- public void activate()
activate
in interface InputMethod
public void deactivate(boolean isTemporary)
deactivate
in interface InputMethod
isTemporary
- public void hideWindows()
hideWindows
in interface InputMethod
public void removeNotify()
removeNotify
in interface InputMethod
public void endComposition()
endComposition
in interface InputMethod
public void dispose()
dispose
in interface InputMethod
public Object getControlObject()
getControlObject
in interface InputMethod
public void setMapVisible(boolean mapvis)
mapvis
- protected void loadLocale(Locale locale)
locale
- public InputMethodContext getContext()
public static void setIMBase(String path)
path
- public static String getIMBase()
public static Font getKeyboardFont()
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |