|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.awt.event.KeyAdapter
javax.swing.plaf.basic.BasicTreeUI.KeyHandler
public class BasicTreeUI.KeyHandler
用于获取多个按键事件以适当生成事件。
| 字段摘要 | |
|---|---|
protected boolean |
isKeyDown
keyPressed 处于激活状态时设置为 true。 |
protected Action |
repeatKeyAction
正在生成的键代码。 |
| 构造方法摘要 | |
|---|---|
BasicTreeUI.KeyHandler()
|
|
| 方法摘要 | |
|---|---|
void |
keyPressed(KeyEvent e)
按下某个键时调用此方法。 |
void |
keyReleased(KeyEvent e)
释放某个键时调用此方法。 |
void |
keyTyped(KeyEvent e)
键入键时调用。 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
protected Action repeatKeyAction
protected boolean isKeyDown
| 构造方法详细信息 |
|---|
public BasicTreeUI.KeyHandler()
| 方法详细信息 |
|---|
public void keyTyped(KeyEvent e)
KeyListener 中的 keyTypedKeyAdapter 中的 keyTypedpublic void keyPressed(KeyEvent e)
KeyAdapter 复制的描述
KeyListener 中的 keyPressedKeyAdapter 中的 keyPressedpublic void keyReleased(KeyEvent e)
KeyAdapter 复制的描述
KeyListener 中的 keyReleasedKeyAdapter 中的 keyReleased
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。