Package de.gurkenlabs.litiengine.input
Interface IKeyboard.KeyPressedListener
- All Superinterfaces:
java.util.EventListener
- Enclosing interface:
- IKeyboard
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface IKeyboard.KeyPressedListener
extends java.util.EventListenerThis listener interface receives pressed events for the keyboard.
- See Also:
IKeyboard.onKeyPressed(KeyPressedListener),IKeyboard.onKeyPressed(int, KeyPressedListener),KeyListener.keyPressed(KeyEvent)
Method Summary
Modifier and Type Method Description voidkeyPressed(java.awt.event.KeyEvent event)Invoked when a key has been pressed.
Method Details
keyPressed
void keyPressed(java.awt.event.KeyEvent event)Invoked when a key has been pressed. See the class description forKeyEventfor a definition of a key pressed event.- Parameters:
event- The key event.
