java.awt.im.InputMethodRequests Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtransc-rt Show documentation
Show all versions of jtransc-rt Show documentation
JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.
package java.awt.im;
import java.awt.*;
import java.awt.font.TextHitInfo;
import java.text.AttributedCharacterIterator;
public interface InputMethodRequests {
Rectangle getTextLocation(TextHitInfo offset);
TextHitInfo getLocationOffset(int x, int y);
int getInsertPositionOffset();
AttributedCharacterIterator getCommittedText(int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes);
int getCommittedTextLength();
AttributedCharacterIterator cancelLatestCommittedText(AttributedCharacterIterator.Attribute[] attributes);
AttributedCharacterIterator getSelectedText(AttributedCharacterIterator.Attribute[] attributes);
}