All Known Implementing Classes:
Keys

public interface Key
Attaches a name to a KeyCode. The name will be displayed in menus to let the user know which shortcut to use.
  • Method Details

    • getNativeKeyCode

      int getNativeKeyCode()
      Returns the native key code of the key
      Returns:
      the native key code
    • getStringRepresentaition

      String getStringRepresentaition()
      Returns the string representation of the key.
      Returns:
      the string representation
    • hashCode

      int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      boolean equals(Object obj)
      Overrides:
      equals in class Object