Package org.wicketstuff.jwicket
Enum SpecialKey
- java.lang.Object
-
- java.lang.Enum<SpecialKey>
-
- org.wicketstuff.jwicket.SpecialKey
-
- All Implemented Interfaces:
Serializable,Comparable<SpecialKey>
public enum SpecialKey extends Enum<SpecialKey>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALTCTRLCURSOR_DOWNCURSOR_LEFTCURSOR_RIGHTCURSOR_UPDELETEENDESCILLEGALINSERTPAGEDOWNPAGEUPPOS1SHIFT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCode()StringgetName()static SpecialKeygetSpecialKey(String name)StringtoString()static SpecialKeyvalueOf(String name)Returns the enum constant of this type with the specified name.static SpecialKey[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SHIFT
public static final SpecialKey SHIFT
-
CTRL
public static final SpecialKey CTRL
-
ALT
public static final SpecialKey ALT
-
ESC
public static final SpecialKey ESC
-
PAGEUP
public static final SpecialKey PAGEUP
-
PAGEDOWN
public static final SpecialKey PAGEDOWN
-
END
public static final SpecialKey END
-
POS1
public static final SpecialKey POS1
-
CURSOR_LEFT
public static final SpecialKey CURSOR_LEFT
-
CURSOR_UP
public static final SpecialKey CURSOR_UP
-
CURSOR_RIGHT
public static final SpecialKey CURSOR_RIGHT
-
CURSOR_DOWN
public static final SpecialKey CURSOR_DOWN
-
INSERT
public static final SpecialKey INSERT
-
DELETE
public static final SpecialKey DELETE
-
ILLEGAL
public static final SpecialKey ILLEGAL
-
-
Method Detail
-
values
public static SpecialKey[] 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 (SpecialKey c : SpecialKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpecialKey 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 nameNullPointerException- if the argument is null
-
getName
public String getName()
-
getCode
public int getCode()
-
getSpecialKey
public static SpecialKey getSpecialKey(String name)
-
toString
public String toString()
- Overrides:
toStringin classEnum<SpecialKey>
-
-