Serializable, Comparable<Event>public final class KeyTypedEvent extends KeyEvent
onKeyTyped() when a key has been typed (pressed and released) on the keyboard.KeyPressedEvent,
KeyReleasedEvent,
Serialized Form| Constructor | Description |
|---|---|
KeyTypedEvent(KeyEvent source) |
Called by the game to create a new KeyTypedEvent.
|
compareTo, getPriority, getTime, setPriority, setTimegetSourceEventpublic KeyTypedEvent(KeyEvent source)
source - the source key event originating from the AWT.Copyright © 2018. All rights reserved.