public static enum BrowserMouseEvent.MouseEventType extends java.lang.Enum<BrowserMouseEvent.MouseEventType>
Enum Constant and Description |
---|
MOUSE_DRAGGED |
MOUSE_ENTERED |
MOUSE_EXITED |
MOUSE_MOVED |
MOUSE_PRESSED |
MOUSE_RELEASED |
MOUSE_WHEEL |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static BrowserMouseEvent.MouseEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
返回具有指定名称的此类型的枚举常量。 |
static BrowserMouseEvent.MouseEventType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
以声明顺序返回包含此枚举类型的常量的数组。 |
public static final BrowserMouseEvent.MouseEventType MOUSE_PRESSED
public static final BrowserMouseEvent.MouseEventType MOUSE_RELEASED
public static final BrowserMouseEvent.MouseEventType MOUSE_MOVED
public static final BrowserMouseEvent.MouseEventType MOUSE_ENTERED
public static final BrowserMouseEvent.MouseEventType MOUSE_EXITED
public static final BrowserMouseEvent.MouseEventType MOUSE_DRAGGED
public static final BrowserMouseEvent.MouseEventType MOUSE_WHEEL
public static BrowserMouseEvent.MouseEventType[] values()
for (BrowserMouseEvent.MouseEventType c : BrowserMouseEvent.MouseEventType.values()) System.out.println(c);
public static BrowserMouseEvent.MouseEventType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
-要返回的枚举常量的名称。
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified name
java.lang.NullPointerException
- if the argument is null
public int getValue()