wicket.contrib.input.events.key
Enum KeyType
java.lang.Object
java.lang.Enum<KeyType>
wicket.contrib.input.events.key.KeyType
- All Implemented Interfaces:
- Serializable, Comparable<KeyType>
public enum KeyType
- extends Enum<KeyType>
- Author:
- Nino Martinez (nino.martinez.wael *at* gmail *dot* com remember no stars)
|
Method Summary |
String |
getKeyCode()
|
static KeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static KeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Ctrl
public static final KeyType Ctrl
Shift
public static final KeyType Shift
Alt
public static final KeyType Alt
Meta
public static final KeyType Meta
a
public static final KeyType a
b
public static final KeyType b
c
public static final KeyType c
d
public static final KeyType d
e
public static final KeyType e
f
public static final KeyType f
g
public static final KeyType g
h
public static final KeyType h
i
public static final KeyType i
j
public static final KeyType j
k
public static final KeyType k
l
public static final KeyType l
m
public static final KeyType m
n
public static final KeyType n
o
public static final KeyType o
p
public static final KeyType p
q
public static final KeyType q
r
public static final KeyType r
s
public static final KeyType s
t
public static final KeyType t
u
public static final KeyType u
v
public static final KeyType v
w
public static final KeyType w
x
public static final KeyType x
y
public static final KeyType y
z
public static final KeyType z
zero
public static final KeyType zero
one
public static final KeyType one
two
public static final KeyType two
three
public static final KeyType three
four
public static final KeyType four
five
public static final KeyType five
six
public static final KeyType six
seven
public static final KeyType seven
eight
public static final KeyType eight
nine
public static final KeyType nine
Escape
public static final KeyType Escape
Tab
public static final KeyType Tab
Space
public static final KeyType Space
Return
public static final KeyType Return
Enter
public static final KeyType Enter
Backspace
public static final KeyType Backspace
Scroll_lock
public static final KeyType Scroll_lock
Caps_lock
public static final KeyType Caps_lock
Num_lock
public static final KeyType Num_lock
Pause
public static final KeyType Pause
Insert
public static final KeyType Insert
Delete
public static final KeyType Delete
Home
public static final KeyType Home
End
public static final KeyType End
Page_up
public static final KeyType Page_up
Page_down
public static final KeyType Page_down
Left
public static final KeyType Left
Up
public static final KeyType Up
Right
public static final KeyType Right
Down
public static final KeyType Down
F1
public static final KeyType F1
F2
public static final KeyType F2
F3
public static final KeyType F3
F4
public static final KeyType F4
F5
public static final KeyType F5
F6
public static final KeyType F6
F7
public static final KeyType F7
F8
public static final KeyType F8
F9
public static final KeyType F9
F10
public static final KeyType F10
F11
public static final KeyType F11
F12
public static final KeyType F12
values
public static KeyType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (KeyType c : KeyType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static KeyType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getKeyCode
public String getKeyCode()
Copyright © 2012. All Rights Reserved.