public class BasicTableUI.KeyHandler extends Object implements KeyListener
BasicTableUI
类中BasicTableUI
。
从Java 2平台v1.3开始,此类不再使用。 相反, JTable
覆盖processKeyBinding
以将事件调度到当前的TableCellEditor
。
Constructor and Description |
---|
KeyHandler() |
Modifier and Type | Method and Description |
---|---|
void |
keyPressed(KeyEvent e)
按下键时调用。
|
void |
keyReleased(KeyEvent e)
当键已被释放时调用。
|
void |
keyTyped(KeyEvent e)
键入键时调用。
|
public void keyPressed(KeyEvent e)
KeyListener
复制
KeyEvent
一键按下事件的定义。
keyPressed
在接口
KeyListener
public void keyReleased(KeyEvent e)
KeyListener
复制
KeyEvent
一键释放事件的定义。
keyReleased
在界面
KeyListener
public void keyTyped(KeyEvent e)
KeyListener
复制
KeyEvent
对于键入键事件的定义。
keyTyped
在界面
KeyListener
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.