public enum PrintStatus extends java.lang.Enum<PrintStatus>
Enum Constant and Description |
---|
CANCEL
The printing must be canceled.
|
CONTINUE
The printing must continue.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCancel()
Indicates whether printing must be canceled.
指示是否必须取消打印。 |
static PrintStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
返回具有指定名称的此类型的枚举常量。 |
static PrintStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
以声明顺序返回包含此枚举类型的常量的数组。 |
public static final PrintStatus CONTINUE
public static final PrintStatus CANCEL
public static PrintStatus[] values()
for (PrintStatus c : PrintStatus.values()) System.out.println(c);
public static PrintStatus 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 boolean isCancel()
TRUE
when printing must be canceled.
必须取消打印时。