public static enum WindowsTerminal.WindowsKey extends Enum<WindowsTerminal.WindowsKey>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Field and Description |
---|---|
int |
code |
Modifier and Type | Method and Description |
---|---|
static WindowsTerminal.WindowsKey |
valueOf(int code) |
static WindowsTerminal.WindowsKey |
valueOf(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.
|
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
public static WindowsTerminal.WindowsKey[] values()
for (WindowsTerminal.WindowsKey c : WindowsTerminal.WindowsKey.values()) System.out.println(c);
public static WindowsTerminal.WindowsKey valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static WindowsTerminal.WindowsKey valueOf(int code)
Copyright © 2008-2013 Sonatype. All Rights Reserved.