Interface Key
- 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 Summary
Modifier and TypeMethodDescriptionboolean
int
Returns the native key code of the keyReturns the string representation of the key.int
hashCode()
-
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() -
equals
-