软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.awt.event |
用于处理不同类型的事件由AWT组件提供的接口和类发射。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
Modifier and Type | Class and Description |
---|---|
class |
AWTEventMulticaster
AWTEventMulticaster 实现高效的线程安全多播事件在
java.awt.event 包中定义的AWT事件调度。
|
Modifier and Type | Method and Description |
---|---|
static KeyListener |
AWTEventMulticaster.add(KeyListener a, KeyListener b)
增加了key-listener-a与key-listener-b并返回产生的组播侦听者。
|
KeyListener[] |
Component.getKeyListeners()
返回在该组件上注册的所有密钥侦听器的数组。
|
static KeyListener |
AWTEventMulticaster.remove(KeyListener l, KeyListener oldl)
从key-listener-l除去旧的关键听众并返回产生的组播侦听者。
|
Modifier and Type | Method and Description |
---|---|
static KeyListener |
AWTEventMulticaster.add(KeyListener a, KeyListener b)
增加了key-listener-a与key-listener-b并返回产生的组播侦听者。
|
void |
Component.addKeyListener(KeyListener l)
添加指定的键侦听器从该组件接收关键事件。
|
static KeyListener |
AWTEventMulticaster.remove(KeyListener l, KeyListener oldl)
从key-listener-l除去旧的关键听众并返回产生的组播侦听者。
|
void |
Component.removeKeyListener(KeyListener l)
移除指定的键侦听器,以便它不再接收来自该组件的关键事件。
|
Modifier and Type | Class and Description |
---|---|
class |
KeyAdapter
用于接收键盘事件的抽象适配器类。
|
Modifier and Type | Class and Description |
---|---|
class |
BasicComboBoxUI.KeyHandler
此侦听器检查是否关键事件不是导航键。
|
class |
BasicComboPopup.InvocationKeyHandler
作为java 2平台V 1.4,这类已经过时了,它只包括向后兼容的API。
|
class |
BasicTableUI.KeyHandler
这个类应该被视为一个“受保护的”内部类。
|
class |
BasicTreeUI.KeyHandler
这是用来获得多个关键的事件,以适当地生成事件。
|
Modifier and Type | Field and Description |
---|---|
protected KeyListener |
BasicComboPopup.keyListener
这个保护字段是实现特定的。
|
protected KeyListener |
BasicTableUI.keyListener |
protected KeyListener |
BasicComboBoxUI.keyListener
这个保护字段是实现特定的。
|
protected KeyListener |
BasicComboBoxUI.popupKeyListener |
Modifier and Type | Method and Description |
---|---|
protected KeyListener |
BasicTreeUI.createKeyListener()
创建侦听器负责从树上获取关键事件。
|
protected KeyListener |
BasicComboPopup.createKeyListener()
创建将被添加到组合框中的关键侦听器。
|
protected KeyListener |
BasicTableUI.createKeyListener()
为表格处理键盘导航关键的听众。
|
protected KeyListener |
BasicComboBoxUI.createKeyListener()
创建一个
KeyListener 这将被添加到组合框。
|
KeyListener |
ComboPopup.getKeyListener()
返回一个键侦听器,将被添加到组合框或空。
|
KeyListener |
BasicComboPopup.getKeyListener()
实现getkeylistener() combopopup。
|
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.