public static enum Printer.BarcodeType extends java.lang.Enum<Printer.BarcodeType>
枚举常量和说明 |
---|
CODABAR_NW_7 |
CODE128 |
CODE39 |
CODE93 |
ITF_Interleaved_2_of_5 |
JAN13_EAN13 |
JAN8_EAN8 |
UCC_EAN128 |
UPC_A |
UPC_E |
限定符和类型 | 方法和说明 |
---|---|
static Printer.BarcodeType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Printer.BarcodeType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Printer.BarcodeType UPC_A
public static final Printer.BarcodeType UPC_E
public static final Printer.BarcodeType JAN13_EAN13
public static final Printer.BarcodeType JAN8_EAN8
public static final Printer.BarcodeType CODE39
public static final Printer.BarcodeType ITF_Interleaved_2_of_5
public static final Printer.BarcodeType CODABAR_NW_7
public static final Printer.BarcodeType CODE93
public static final Printer.BarcodeType CODE128
public static final Printer.BarcodeType UCC_EAN128
public static Printer.BarcodeType[] values()
for (Printer.BarcodeType c : Printer.BarcodeType.values()) System.out.println(c);
public static Printer.BarcodeType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值