AWTKeyStroke
Class AWTKeyStroke
- java.lang.Object
-
- java.awt.AWTKeyStroke
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- KeyStroke
public class AWTKeyStroke extends Object implements Serializable
An AWTKeyStroke
represents a key action on the keyboard, or equivalent input device. AWTKeyStroke
s can correspond to only a press or release of a particular key, just as KEY_PRESSED
and KEY_RELEASED
KeyEvent
s do; alternately, they can correspond to typing a specific Java character, just as KEY_TYPED登录查看完整内容