| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | activate()
Implements abstract sun. Implements java. Activate input method. |
| public synchronized void | deactivate(boolean isTemporary)
Implements abstract sun. Implements java. Deactivate input method. |
| pack-priv void | dispatchComposedText(String chgText, int[] chgStyles, int chgOffset, int chgLength, int caretPosition, long when)
Implements abstract sun. Updates composed text with XIM preedit information and posts composed text to the awt event queue. |
| protected synchronized void | |
| public void | hideWindows()
Implements abstract sun. Implements java. Closes or hides all windows opened by this input method instance or its class. |
| protected void | resetCompositionState()
Implements abstract sun. Reset the composition state to the current composition state. |
| public void | setCompositionEnabled(boolean enable)
Implements abstract sun. Implements java. Enables or disables this input method for composition,
depending on the value of the parameter |
| X11InputMethod | back to summary |
|---|---|
| public X11InputMethod() throws AWTException Constructs an X11InputMethod instance. It initializes the XIM environment if it's not done yet.
| |
| activate | back to summary |
|---|---|
| public synchronized void activate() Implements abstract sun. Implements java. Activate input method.
| |
| deactivate | back to summary |
|---|---|
| public synchronized void deactivate(boolean isTemporary) Implements abstract sun. Implements java. Deactivate input method.
| |
| dispatchComposedText | back to summary |
|---|---|
| pack-priv void dispatchComposedText(String chgText, int[] chgStyles, int chgOffset, int chgLength, int caretPosition, long when) Implements abstract sun. Updates composed text with XIM preedit information and posts composed text to the awt event queue. The args of this method correspond to the XIM preedit callback information. The XIM highlight attributes are translated via fixed mapping (i.e., independent from any underlying input method engine). This method is invoked in the AWT Toolkit (X event loop) thread context and thus inside the AWT Lock.
| |
| disposeImpl | back to summary |
|---|---|
| protected synchronized void disposeImpl() Implements abstract sun.
| |
| hideWindows | back to summary |
|---|---|
| public void hideWindows() Implements abstract sun. Implements java. Doc from java. Closes or hides all windows opened by this input method instance or its class. This method is called
| |
| resetCompositionState | back to summary |
|---|---|
| protected void resetCompositionState() Implements abstract sun. Reset the composition state to the current composition state.
| |
| setCompositionEnabled | back to summary |
|---|---|
| public void setCompositionEnabled(boolean enable) Implements abstract sun. Implements java. Doc from java. Enables or disables this input method for composition,
depending on the value of the parameter An input method that is enabled for composition interprets incoming events for both composition and control purposes, while a disabled input method does not interpret events for composition. Note however that events are passed on to the input method regardless whether it is enabled or not, and that an input method that is disabled for composition may still interpret events for control purposes, including to enable or disable itself for composition.
For input methods provided by host operating systems, it is not always possible to
determine whether this operation is supported. For example, an input method may enable
composition only for some locales, and do nothing for other locales. For such input
methods, it is possible that this method does not throw
This method is called
| |