RingJavafor Ring

java.awt.im.spi

3 classes of the module java.desktop.

Load them with:

using {
	"java.awt.im.spi"
}

All packages

InputMethod#

interface · java.awt.im.spi.InputMethod

Methods

MethodRing callJava overloads
activateactivate()void activate()
deactivatedeactivate(isTemporary)void deactivate(boolean isTemporary)
dispatchEventdispatchEvent(event)void dispatchEvent(AWTEvent event)
disposedispose()void dispose()
endCompositionendComposition()void endComposition()
getControlObjectgetControlObject()Object getControlObject()
getLocalegetLocale()Locale getLocale()
hideWindowshideWindows()void hideWindows()
isCompositionEnabledisCompositionEnabled()boolean isCompositionEnabled()
notifyClientWindowChangenotifyClientWindowChange(bounds)void notifyClientWindowChange(Rectangle bounds)
reconvertreconvert()void reconvert()
removeNotifyremoveNotify()void removeNotify()
setCharacterSubsetssetCharacterSubsets(subsets)void setCharacterSubsets(Subset[] subsets)
setCompositionEnabledsetCompositionEnabled(enable)void setCompositionEnabled(boolean enable)
setInputMethodContextsetInputMethodContext(context)void setInputMethodContext(InputMethodContext context)
setLocalesetLocale(locale)boolean setLocale(Locale locale)

InputMethodContext#

interface · java.awt.im.spi.InputMethodContext

Extends: InputMethodRequests

Methods

MethodRing callJava overloads
cancelLatestCommittedTextcancelLatestCommittedText(attributes)AttributedCharacterIterator cancelLatestCommittedText(Attribute[] attributes)
createInputMethodJFramecreateInputMethodJFrame(title,attachToInputContext)JFrame createInputMethodJFrame(String title, boolean attachToInputContext)
createInputMethodWindowcreateInputMethodWindow(title,attachToInputContext)Window createInputMethodWindow(String title, boolean attachToInputContext)
dispatchInputMethodEventdispatchInputMethodEvent(id,text,committedCharacterCount,caret,visiblePosition)void dispatchInputMethodEvent(int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
enableClientWindowNotificationenableClientWindowNotification(inputMethod,enable)void enableClientWindowNotification(InputMethod inputMethod, boolean enable)
getCommittedTextgetCommittedText(beginIndex,endIndex,attributes)AttributedCharacterIterator getCommittedText(int beginIndex, int endIndex, Attribute[] attributes)
getCommittedTextLengthgetCommittedTextLength()int getCommittedTextLength()
getInsertPositionOffsetgetInsertPositionOffset()int getInsertPositionOffset()
getLocationOffsetgetLocationOffset(x,y)TextHitInfo getLocationOffset(int x, int y)
getSelectedTextgetSelectedText(attributes)AttributedCharacterIterator getSelectedText(Attribute[] attributes)
getTextLocationgetTextLocation(offset)Rectangle getTextLocation(TextHitInfo offset)

InputMethodDescriptor#

interface · java.awt.im.spi.InputMethodDescriptor

Methods

MethodRing callJava overloads
createInputMethodcreateInputMethod()InputMethod createInputMethod()
getAvailableLocalesgetAvailableLocales()Locale[] getAvailableLocales()
getInputMethodDisplayNamegetInputMethodDisplayName(inputLocale,displayLanguage)String getInputMethodDisplayName(Locale inputLocale, Locale displayLanguage)
getInputMethodIcongetInputMethodIcon(inputLocale)Image getInputMethodIcon(Locale inputLocale)
hasDynamicLocaleListhasDynamicLocaleList()boolean hasDynamicLocaleList()
RingJava - use Java classes and methods from Ring programs.