java.awt.im.spi
3 classes of the module java.desktop.
Load them with:
using {
"java.awt.im.spi"
}
InputMethod#
interface · java.awt.im.spi.InputMethod
Methods
| Method | Ring call | Java overloads |
|---|---|---|
activate | activate() | void activate() |
deactivate | deactivate(isTemporary) | void deactivate(boolean isTemporary) |
dispatchEvent | dispatchEvent(event) | void dispatchEvent(AWTEvent event) |
dispose | dispose() | void dispose() |
endComposition | endComposition() | void endComposition() |
getControlObject | getControlObject() | Object getControlObject() |
getLocale | getLocale() | Locale getLocale() |
hideWindows | hideWindows() | void hideWindows() |
isCompositionEnabled | isCompositionEnabled() | boolean isCompositionEnabled() |
notifyClientWindowChange | notifyClientWindowChange(bounds) | void notifyClientWindowChange(Rectangle bounds) |
reconvert | reconvert() | void reconvert() |
removeNotify | removeNotify() | void removeNotify() |
setCharacterSubsets | setCharacterSubsets(subsets) | void setCharacterSubsets(Subset[] subsets) |
setCompositionEnabled | setCompositionEnabled(enable) | void setCompositionEnabled(boolean enable) |
setInputMethodContext | setInputMethodContext(context) | void setInputMethodContext(InputMethodContext context) |
setLocale | setLocale(locale) | boolean setLocale(Locale locale) |
InputMethodContext#
interface · java.awt.im.spi.InputMethodContext
Extends: InputMethodRequests
Methods
| Method | Ring call | Java overloads |
|---|---|---|
cancelLatestCommittedText | cancelLatestCommittedText(attributes) | AttributedCharacterIterator cancelLatestCommittedText(Attribute[] attributes) |
createInputMethodJFrame | createInputMethodJFrame(title,attachToInputContext) | JFrame createInputMethodJFrame(String title, boolean attachToInputContext) |
createInputMethodWindow | createInputMethodWindow(title,attachToInputContext) | Window createInputMethodWindow(String title, boolean attachToInputContext) |
dispatchInputMethodEvent | dispatchInputMethodEvent(id,text,committedCharacterCount,caret,visiblePosition) | void dispatchInputMethodEvent(int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition) |
enableClientWindowNotification | enableClientWindowNotification(inputMethod,enable) | void enableClientWindowNotification(InputMethod inputMethod, boolean enable) |
getCommittedText | getCommittedText(beginIndex,endIndex,attributes) | AttributedCharacterIterator getCommittedText(int beginIndex, int endIndex, Attribute[] attributes) |
getCommittedTextLength | getCommittedTextLength() | int getCommittedTextLength() |
getInsertPositionOffset | getInsertPositionOffset() | int getInsertPositionOffset() |
getLocationOffset | getLocationOffset(x,y) | TextHitInfo getLocationOffset(int x, int y) |
getSelectedText | getSelectedText(attributes) | AttributedCharacterIterator getSelectedText(Attribute[] attributes) |
getTextLocation | getTextLocation(offset) | Rectangle getTextLocation(TextHitInfo offset) |
InputMethodDescriptor#
interface · java.awt.im.spi.InputMethodDescriptor
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createInputMethod | createInputMethod() | InputMethod createInputMethod() |
getAvailableLocales | getAvailableLocales() | Locale[] getAvailableLocales() |
getInputMethodDisplayName | getInputMethodDisplayName(inputLocale,displayLanguage) | String getInputMethodDisplayName(Locale inputLocale, Locale displayLanguage) |
getInputMethodIcon | getInputMethodIcon(inputLocale) | Image getInputMethodIcon(Locale inputLocale) |
hasDynamicLocaleList | hasDynamicLocaleList() | boolean hasDynamicLocaleList() |