KeyListener

Methods
5
Fields
None

Methods

MethodReturnsDescription
keyPressed(AwtKeyEvent)()A key went down (and again for each auto-repeat).
keyReleased(AwtKeyEvent)()A key came up.
keyTyped(AwtKeyEvent)()A character was typed.
isEnabledOnLoginScreen()booleanWhether the listener runs on the login screen; false unless the table answers true.
focusLost()()The game window lost keyboard focus: a key held now will not report its release.

Method details

focusLost

focusLost: (KeyListener) -> ()

The game window lost keyboard focus: a key held now will not report its release.