|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<WindowsTerminal.WindowsKey>
jline.WindowsTerminal.WindowsKey
public static enum WindowsTerminal.WindowsKey
Windows keys.
Constants copied wincon.h.
| Enum Constant Summary | |
|---|---|
DELETE_KEY
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates that the delete key was pressed. |
|
DOWN_ARROW_KEY
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates an down arrow key press. |
|
END_KEY
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates that the end key was pressed. |
|
ESCAPE_KEY
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR, this character indicates that the escape key was pressed. |
|
HOME_KEY
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates that the home key was pressed. |
|
INSERT_KEY
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates that the insert key was pressed. |
|
LEFT_ARROW_KEY
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR, this character indicates an left arrow key press. |
|
NUMPAD_KEY_INDICATOR
On windows terminals, this character indicates that a special key on the number pad has been pressed. |
|
PAGE_DOWN_KEY
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates that the page down key was pressed. |
|
PAGE_UP_KEY
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates that the page up key was pressed. |
|
RIGHT_ARROW_KEY
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates an right arrow key press. |
|
SPECIAL_KEY_INDICATOR
On windows terminals, this character indicates that a 'special' key has been pressed. |
|
UP_ARROW_KEY
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates an up arrow key press. |
|
| Field Summary | |
|---|---|
int |
code
|
| Method Summary | |
|---|---|
static WindowsTerminal.WindowsKey |
valueOf(int code)
|
static WindowsTerminal.WindowsKey |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static WindowsTerminal.WindowsKey[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final WindowsTerminal.WindowsKey SPECIAL_KEY_INDICATOR
public static final WindowsTerminal.WindowsKey NUMPAD_KEY_INDICATOR
public static final WindowsTerminal.WindowsKey LEFT_ARROW_KEY
public static final WindowsTerminal.WindowsKey RIGHT_ARROW_KEY
public static final WindowsTerminal.WindowsKey UP_ARROW_KEY
public static final WindowsTerminal.WindowsKey DOWN_ARROW_KEY
public static final WindowsTerminal.WindowsKey DELETE_KEY
public static final WindowsTerminal.WindowsKey HOME_KEY
public static final WindowsTerminal.WindowsKey END_KEY
public static final WindowsTerminal.WindowsKey PAGE_UP_KEY
public static final WindowsTerminal.WindowsKey PAGE_DOWN_KEY
public static final WindowsTerminal.WindowsKey INSERT_KEY
public static final WindowsTerminal.WindowsKey ESCAPE_KEY
| Field Detail |
|---|
public final int code
| Method Detail |
|---|
public static WindowsTerminal.WindowsKey[] values()
for (WindowsTerminal.WindowsKey c : WindowsTerminal.WindowsKey.values()) System.out.println(c);
public static WindowsTerminal.WindowsKey valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static WindowsTerminal.WindowsKey valueOf(int code)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||