LookupPanel(NeoeInputMethod inputMethod, InputMethodContext context) { this.inputMethod = inputMethod; setFont(font); setOpaque(true); setForeground(Color.black); setBackground(Color.white); enableEvents(AWTEvent.KEY_EVENT_MASK); enableEvents(AWTEvent.MOUSE_EVENT_MASK); setLayout(new BorderLayout()); add(getIMEPanel(), BorderLayout.CENTER); }
public Object run() { try { return InputMethodContext.class.getMethod("createInputMethodJFrame", new Class[] { String.class, Boolean.TYPE }); } catch (NoSuchMethodException e) { return null; } }
public void setInputMethodContext(InputMethodContext context) { this.context = context; }
@Override public synchronized void setInputMethodContext(InputMethodContext context) { inputContext = context; }
public void setInputMethodContext(InputMethodContext context) { context.enableClientWindowNotification(this, true); }
public void setInputMethodContext(InputMethodContext context) { log("setInputMethodContext(" + context + ")"); this.context = context; context.enableClientWindowNotification(this, false); }
public synchronized void setInputMethodContext(InputMethodContext context) { inputContext = context; }
public void setInputMethodContext(InputMethodContext context) { imc = context; }