1 7 8 package java.awt.im.spi; 9 10 import java.awt.HeadlessException ; 11 import java.awt.Window ; 12 import java.awt.font.TextHitInfo ; 13 import java.awt.im.InputMethodRequests ; 14 import java.text.AttributedCharacterIterator ; 15 import javax.swing.JFrame ; 16 17 31 32 public interface InputMethodContext extends InputMethodRequests { 33 34 39 public void dispatchInputMethodEvent(int id, 40 AttributedCharacterIterator text, int committedCharacterCount, 41 TextHitInfo caret, TextHitInfo visiblePosition); 42 43 73 public Window createInputMethodWindow(String title, boolean attachToInputContext); 74 75 107 public JFrame createInputMethodJFrame(String title, boolean attachToInputContext); 108 109 122 public void enableClientWindowNotification(InputMethod inputMethod, boolean enable); 123 } 124 | Popular Tags |