public static enum Printer.PrinterStatus extends java.lang.Enum<Printer.PrinterStatus>
枚举常量和说明 |
---|
CANCELPAPER
打印机用户未取纸
User doesnot get paper |
LACKOFPAPER
打印机缺纸
printer lack paper |
LEISURE
打印机闲
Printer available |
NORMAL
打印机正常
Printer normal |
OVERHEATING
打印机过热
Printer overheat. |
OVERPRESSURE
打印机过压
Printer overvolt. |
PAPERFINISH
打印机纸将尽
Printer paper used up |
PAPERSTUCK
打印机卡纸
Printer paper stuck |
PRESSUREAXISOPEN
打印机压轴打开
Printer shaft open |
SLICINGERROR
打印机切片错误
Printer cutting error |
UNLEISURED
打印机繁忙
The printer data is full, |
限定符和类型 | 方法和说明 |
---|---|
static Printer.PrinterStatus |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Printer.PrinterStatus[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Printer.PrinterStatus NORMAL
public static final Printer.PrinterStatus OVERPRESSURE
public static final Printer.PrinterStatus LACKOFPAPER
public static final Printer.PrinterStatus OVERHEATING
public static final Printer.PrinterStatus PRESSUREAXISOPEN
public static final Printer.PrinterStatus PAPERSTUCK
public static final Printer.PrinterStatus SLICINGERROR
public static final Printer.PrinterStatus PAPERFINISH
public static final Printer.PrinterStatus CANCELPAPER
public static final Printer.PrinterStatus UNLEISURED
public static final Printer.PrinterStatus LEISURE
public static Printer.PrinterStatus[] values()
for (Printer.PrinterStatus c : Printer.PrinterStatus.values()) System.out.println(c);
public static Printer.PrinterStatus valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值