1 7 8 package java.awt.im; 9 10 import java.awt.Rectangle ; 11 import java.awt.font.TextHitInfo ; 12 import java.text.AttributedCharacterIterator ; 13 import java.text.AttributedCharacterIterator.Attribute; 14 15 46 47 public interface InputMethodRequests { 48 49 83 Rectangle getTextLocation(TextHitInfo offset); 84 85 100 TextHitInfo getLocationOffset(int x, int y); 101 102 111 int getInsertPositionOffset(); 112 113 132 AttributedCharacterIterator getCommittedText(int beginIndex, int endIndex, 133 Attribute[] attributes); 134 135 141 int getCommittedTextLength(); 142 143 167 AttributedCharacterIterator cancelLatestCommittedText(Attribute[] attributes); 168 169 190 AttributedCharacterIterator getSelectedText(Attribute[] attributes); 191 } 192 | Popular Tags |