| 软件包 | 描述 |
|---|---|
| java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
| Modifier and Type | Class and Description |
|---|---|
class |
AWTEventMulticaster
AWTEventMulticaster实现高效的线程安全多播事件在
java.awt.event包中定义的AWT事件调度。
|
protected class |
TextArea.AccessibleAWTTextArea
这个类实现了对
TextArea类可访问性支持。
|
protected class |
TextComponent.AccessibleAWTTextComponent
这个类实现了对
TextComponent类可访问性支持。
|
protected class |
TextField.AccessibleAWTTextField
这个类实现了对
TextField类可访问性支持。
|
| Modifier and Type | Field and Description |
|---|---|
protected TextListener |
TextComponent.textListener |
| Modifier and Type | Method and Description |
|---|---|
static TextListener |
AWTEventMulticaster.add(TextListener a, TextListener b) |
TextListener[] |
TextComponent.getTextListeners()
返回在该文本组件上注册的所有文本侦听器的数组。
|
static TextListener |
AWTEventMulticaster.remove(TextListener l, TextListener oldl) |
| Modifier and Type | Method and Description |
|---|---|
static TextListener |
AWTEventMulticaster.add(TextListener a, TextListener b) |
void |
TextComponent.addTextListener(TextListener l)
添加指定的文本事件侦听器,以从该文本组件接收文本事件。
|
static TextListener |
AWTEventMulticaster.remove(TextListener l, TextListener oldl) |
void |
TextComponent.removeTextListener(TextListener l)
移除指定的文本事件监听器,它不再接收文本事件从这个文本组件如果
l是
null,不引发异常,则不执行行动。
|
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.