public enum ReplayMode extends Enum<ReplayMode> implements OptionsEnum
Enum Constant and Description |
---|
Default
默认的重放模式。
|
HighLevel
使用 API 的高级重放
|
LowLevel
使用鼠标点击和键击的低级重放。
|
Modifier and Type | Method and Description |
---|---|
String |
getAssociatedOption()
返回与此选项枚举值关联的选项。
|
int |
getValue()
返回此选项枚举值所代表的数值。
|
static ReplayMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplayMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplayMode Default
public static final ReplayMode HighLevel
public static final ReplayMode LowLevel
public static ReplayMode[] values()
for (ReplayMode c : ReplayMode.values()) System.out.println(c);
public static ReplayMode 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 nullpublic int getValue()
OptionsEnum
getValue
in interface OptionsEnum
public String getAssociatedOption()
OptionsEnum
getAssociatedOption
in interface OptionsEnum
Copyright 2009-2012 Micro Focus. All Rights Reserved.