AWTKeyStroke

Class 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. AWTKeyStrokes can correspond to only a press or release of a particular key, just as KEY_PRESSED and KEY_RELEASED KeyEvents do; alternately, they can correspond to typing a specific Java character, just as KEY_TYPED登录查看完整内容