public enum ClickMode extends Enum<ClickMode>
Enum Constant and Description |
---|
HOVER
指定当鼠标悬停在控件上时激发点击事件。
|
PRESS
指定当按钮按下时立即发生点击事件。
|
RELEASE
指定当按钮按下并释放后发生点击事件。
|
Modifier and Type | Method and Description |
---|---|
static ClickMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClickMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClickMode HOVER
public static final ClickMode PRESS
public static final ClickMode RELEASE
public static ClickMode[] values()
for (ClickMode c : ClickMode.values()) System.out.println(c);
public static ClickMode 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.