com.pax.dal.entity
Enum EKeyCode
- java.lang.Object
-
- java.lang.Enum<EKeyCode>
-
- com.pax.dal.entity.EKeyCode
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description KEY_0按键0KEYCODE 0KEY_1按键1KEYCODE 1KEY_2按键2KEYCODE 2KEY_3按键3KEYCODE 3KEY_4按键4KEYCODE 4KEY_5按键5KEYCODE 5KEY_6按键6KEYCODE 6KEY_7按键7KEYCODE 7KEY_8按键8KEYCODE 8KEY_9按键9KEYCODE 9KEY_ALPH字母键KEYCODE alphKEY_CANCEL取消键KEYCODE cancelKEY_CLEAR清除键KEYCODE clearKEY_ENTER确认键KEYCODE enterKEY_FUNC功能键KEYCODE funcKEY_STAR键值"*"KEYCODE "*"NO_KEY无键值NO KEYNO_KEY_EMPTY空白区域Blank area
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static EKeyCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EKeyCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KEY_CANCEL
public static final EKeyCode KEY_CANCEL
取消键KEYCODE cancel
-
NO_KEY_EMPTY
public static final EKeyCode NO_KEY_EMPTY
空白区域Blank area
-
-
Method Detail
-
values
public static EKeyCode[] 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 (EKeyCode c : EKeyCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EKeyCode valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-