public class BasicTableUI.KeyHandler extends Object implements KeyListener
作为java 2平台V1.3这类不再被使用。相反JTable覆盖processKeyBinding调度事件到目前的TableCellEditor。
BasicTableUI。
| 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.