RingJavafor Ring

java.awt.im

4 classes of the module java.desktop.

Load them with:

using {
	"java.awt.im"
}

All packages

InputContext#

class · extends Object · java.awt.im.InputContext

Methods

MethodRing callJava overloads
dispatchEventdispatchEvent(event)void dispatchEvent(AWTEvent event)
disposedispose()void dispose()
endCompositionendComposition()void endComposition()
getInputMethodControlObjectgetInputMethodControlObject()Object getInputMethodControlObject()
getInstancegetInstance()static InputContext getInstance()
getLocalegetLocale()Locale getLocale()
isCompositionEnabledisCompositionEnabled()boolean isCompositionEnabled()
reconvertreconvert()void reconvert()
removeNotifyremoveNotify(client)void removeNotify(Component client)
selectInputMethodselectInputMethod(locale)boolean selectInputMethod(Locale locale)
setCharacterSubsetssetCharacterSubsets(subsets)void setCharacterSubsets(Subset[] subsets)
setCompositionEnabledsetCompositionEnabled(enable)void setCompositionEnabled(boolean enable)

The methods and fields of Object are inherited.

InputMethodHighlight#

class · extends Object · java.awt.im.InputMethodHighlight

Constructors

new InputMethodHighlight(boolean selected, int state)
new InputMethodHighlight(boolean selected, int state, int variation)
new InputMethodHighlight(boolean selected, int state, int variation, Map style)

Ring: new InputMethodHighlight(args) uses the constructor with the fewest parameters (at least one); new InputMethodHighlight makes the object with the constructor without parameters; the others: (new InputMethodHighlight).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
RAW_TEXTintconstant · statico.RAW_TEXT
CONVERTED_TEXTintconstant · statico.CONVERTED_TEXT
UNSELECTED_RAW_TEXT_HIGHLIGHTInputMethodHighlightconstant · statico.UNSELECTED_RAW_TEXT_HIGHLIGHT
SELECTED_RAW_TEXT_HIGHLIGHTInputMethodHighlightconstant · statico.SELECTED_RAW_TEXT_HIGHLIGHT
UNSELECTED_CONVERTED_TEXT_HIGHLIGHTInputMethodHighlightconstant · statico.UNSELECTED_CONVERTED_TEXT_HIGHLIGHT
SELECTED_CONVERTED_TEXT_HIGHLIGHTInputMethodHighlightconstant · statico.SELECTED_CONVERTED_TEXT_HIGHLIGHT

Methods

MethodRing callJava overloads
getStategetState()int getState()
getStylegetStyle()Map getStyle()
getVariationgetVariation()int getVariation()
isSelectedisSelected()boolean isSelected()

The methods and fields of Object are inherited.

InputMethodRequests#

interface · java.awt.im.InputMethodRequests

Methods

MethodRing callJava overloads
cancelLatestCommittedTextcancelLatestCommittedText(attributes)AttributedCharacterIterator cancelLatestCommittedText(Attribute[] attributes)
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)

InputSubset#

class final · extends CharacterSubset · java.awt.im.InputSubset

Fields

NameTypeAccessIn Ring
LATINInputSubsetconstant · statico.LATIN
LATIN_DIGITSInputSubsetconstant · statico.LATIN_DIGITS
TRADITIONAL_HANZIInputSubsetconstant · statico.TRADITIONAL_HANZI
SIMPLIFIED_HANZIInputSubsetconstant · statico.SIMPLIFIED_HANZI
KANJIInputSubsetconstant · statico.KANJI
HANJAInputSubsetconstant · statico.HANJA
HALFWIDTH_KATAKANAInputSubsetconstant · statico.HALFWIDTH_KATAKANA
FULLWIDTH_LATINInputSubsetconstant · statico.FULLWIDTH_LATIN
FULLWIDTH_DIGITSInputSubsetconstant · statico.FULLWIDTH_DIGITS

The methods and fields of CharacterSubset are inherited.

RingJava - use Java classes and methods from Ring programs.