Interface KeyReleased

All Superinterfaces:
KeyEvent

public interface KeyReleased extends KeyEvent
An event indicating that a keyboard key has been released.
  • Method Details

    • newBuilder

      static KeyReleased.Builder newBuilder(KeyCode keyCode)
      Creates a new KeyReleased builder with the given required parameters.
      Parameters:
      keyCode - the code of the key
      Returns:
      a new KeyReleased.Builder instance
    • keyCode

      default KeyCode keyCode()
      Description copied from interface: KeyEvent
      Returns the code of the key.
      Specified by:
      keyCode in interface KeyEvent
    • keyModifiers

      default KeyModifiers keyModifiers()
      Description copied from interface: KeyEvent
      Returns the keyboard modifiers applied.
      Specified by:
      keyModifiers in interface KeyEvent
    • keyLocation

      default KeyLocation keyLocation()
      Description copied from interface: KeyEvent
      Returns the location of the key on the keyboard.
      Specified by:
      keyLocation in interface KeyEvent