1 7 8 package java.awt.im.spi; 9 10 import java.util.Locale ; 11 import java.awt.AWTEvent ; 12 import java.awt.Rectangle ; 13 import java.lang.Character.Subset; 14 15 16 33 34 public interface InputMethod { 35 36 47 public void setInputMethodContext(InputMethodContext context); 48 49 68 public boolean setLocale(Locale locale); 69 70 82 public Locale getLocale(); 83 84 99 public void setCharacterSubsets(Subset[] subsets); 100 101 136 public void setCompositionEnabled(boolean enable); 137 138 158 public boolean isCompositionEnabled(); 159 160 178 public void reconvert(); 179 180 199 public void dispatchEvent(AWTEvent event); 200 201 236 public void notifyClientWindowChange(Rectangle bounds); 237 238 255 public void activate(); 256 257 286 public void deactivate(boolean isTemporary); 287 288 300 public void hideWindows(); 301 302 311 public void removeNotify(); 312 313 335 public void endComposition(); 336 337 347 public void dispose(); 348 349 363 public Object getControlObject(); 364 365 } 366 | Popular Tags |