public abstract class KeyEvent extends Event
| Constructor and Description |
|---|
KeyEvent(KeyEvent source)
Called by the game to create a new KeyEvent.
|
| Modifier and Type | Method and Description |
|---|---|
KeyEvent |
getSourceEvent()
Do not call this method!
This method is used by the game to determine the type of the source key
event that occurred in the AWT.
|
compareTo, getPriority, getTime, setPriority, setTimepublic KeyEvent(KeyEvent source)
source - the source key event originating from the AWT.public KeyEvent getSourceEvent()
Copyright © 2016. All rights reserved.