public final class Keys extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isFunctionKey(String key)
Return
true if key is a function key. |
static boolean |
isNavigationKey(String key)
Return
true if key is a navigation key. |
static boolean |
isWritable(String key)
Return
true of the key is a valid data key for writing. |
static ImplicitKeyRecordFunction |
tryParseFunction(String key)
If possible, parse the
Function that is expressed by the
key. |
public static boolean isFunctionKey(String key)
true if key is a function key.key - true if the provided key is a function keypublic static boolean isNavigationKey(String key)
true if key is a navigation key.key - true if the provided key is a valid navigation
keypublic static boolean isWritable(String key)
true of the key is a valid data key for writing.key - true if the provided key is valid for writing