Interface IKeyboard.KeyPressedListener

All Superinterfaces:
Enclosing interface:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

public static interface IKeyboard.KeyPressedListener
extends java.util.EventListener
This listener interface receives pressed events for the keyboard.
See Also:
IKeyboard.onKeyPressed(KeyPressedListener), IKeyboard.onKeyPressed(int, KeyPressedListener), KeyListener.keyPressed(KeyEvent)
  • Method Summary

    Modifier and TypeMethodDescription
    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 for KeyEvent for a definition of a key pressed event.
      event - The key event.