public static enum CefKeyboardHandler.CefKeyEvent.EventType extends java.lang.Enum<CefKeyboardHandler.CefKeyEvent.EventType>
枚举常量和说明 |
---|
KEYEVENT_CHAR
Notification that a character was typed.
|
KEYEVENT_KEYDOWN
Notification that a key was pressed.
|
KEYEVENT_KEYUP
Notification that a key was released
|
KEYEVENT_RAWKEYDOWN
Notification that a key transitioned from "up" to "down"
|
限定符和类型 | 方法和说明 |
---|---|
static CefKeyboardHandler.CefKeyEvent.EventType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static CefKeyboardHandler.CefKeyEvent.EventType[] |
values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
|
public static final CefKeyboardHandler.CefKeyEvent.EventType KEYEVENT_CHAR
public static final CefKeyboardHandler.CefKeyEvent.EventType KEYEVENT_KEYDOWN
public static final CefKeyboardHandler.CefKeyEvent.EventType KEYEVENT_KEYUP
public static final CefKeyboardHandler.CefKeyEvent.EventType KEYEVENT_RAWKEYDOWN
public static CefKeyboardHandler.CefKeyEvent.EventType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。
java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量
java.lang.NullPointerException
- 如果参数为空值
public static CefKeyboardHandler.CefKeyEvent.EventType[] values()
for (CefKeyboardHandler.CefKeyEvent.EventType c : CefKeyboardHandler.CefKeyEvent.EventType.values()) System.out.println(c);