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 FormConstructor | Description |
---|---|
KeyTypedEvent(KeyEvent source) |
Called by the game to create a new KeyTypedEvent.
|
compareTo, getPriority, getTime, setPriority, setTime
getSourceEvent
public KeyTypedEvent(KeyEvent source)
source
- the source key event originating from the AWT.Copyright © 2018. All rights reserved.