public enum ClickType extends Enum<ClickType>
Enum Constant and Description |
---|
LEFT
用鼠标左键单击
|
LEFTDOUBLE
用鼠标左键双击
|
MIDDLE
用鼠标中键单击
|
PRESS
按下鼠标左键
|
RELEASE
释放鼠标左键
|
RIGHT
用鼠标右键单击
|
Modifier and Type | Method and Description |
---|---|
static ClickType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClickType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClickType LEFT
public static final ClickType RIGHT
public static final ClickType MIDDLE
public static final ClickType LEFTDOUBLE
public static final ClickType PRESS
public static final ClickType RELEASE
public static ClickType[] values()
for (ClickType c : ClickType.values()) System.out.println(c);
public static ClickType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright 2009-2012 Micro Focus. All Rights Reserved.