public enum TruelogScreenshotMode extends Enum<TruelogScreenshotMode> implements OptionsEnum
Enum Constant and Description |
---|
ActiveApplication
每执行一次操作,将活动应用程序(包括所有应用程序窗口)的屏幕截图写入 Truelog 文件。
|
ActiveWindow
每执行一次操作,将活动应用程序窗口的屏幕截图写入 Truelog 文件。
|
Desktop
每执行一次操作,将桌面的屏幕截图写入 Truelog 文件。
|
None
默认 Truelog 屏幕截图模式。
|
Modifier and Type | Method and Description |
---|---|
String |
getAssociatedOption()
返回与此选项枚举值关联的选项。
|
int |
getValue()
返回此选项枚举值所代表的数值。
|
static TruelogScreenshotMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TruelogScreenshotMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TruelogScreenshotMode None
public static final TruelogScreenshotMode ActiveWindow
public static final TruelogScreenshotMode ActiveApplication
public static final TruelogScreenshotMode Desktop
public static TruelogScreenshotMode[] values()
for (TruelogScreenshotMode c : TruelogScreenshotMode.values()) System.out.println(c);
public static TruelogScreenshotMode 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.