软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
Modifier and Type | Class and Description |
---|---|
class |
AWTEventMulticaster
AWTEventMulticaster 实现高效的线程安全多播事件在
java.awt.event 包中定义的AWT事件调度。
|
Modifier and Type | Method and Description |
---|---|
static InputMethodListener |
AWTEventMulticaster.add(InputMethodListener a, InputMethodListener b)
增加了input-method-listener-a与input-method-listener-b并返回产生的组播侦听者。
|
InputMethodListener[] |
Component.getInputMethodListeners()
返回在该组件上注册的所有输入方法侦听器的数组。
|
static InputMethodListener |
AWTEventMulticaster.remove(InputMethodListener l, InputMethodListener oldl)
从input-method-listener-l除去旧的输入法的听众并返回产生的组播侦听者。
|
Modifier and Type | Method and Description |
---|---|
static InputMethodListener |
AWTEventMulticaster.add(InputMethodListener a, InputMethodListener b)
增加了input-method-listener-a与input-method-listener-b并返回产生的组播侦听者。
|
void |
Component.addInputMethodListener(InputMethodListener l)
添加指定的输入法侦听器从该组件接收输入法事件。
|
static InputMethodListener |
AWTEventMulticaster.remove(InputMethodListener l, InputMethodListener oldl)
从input-method-listener-l除去旧的输入法的听众并返回产生的组播侦听者。
|
void |
Component.removeInputMethodListener(InputMethodListener l)
移除指定的输入法侦听器,以便它不再接收来自该组件的输入方法事件。
|
Modifier and Type | Method and Description |
---|---|
void |
JTextComponent.addInputMethodListener(InputMethodListener l) |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.