public enum CardCodeType extends Enum<CardCodeType>
| Enum Constant and Description |
|---|
CODE_TYPE_BARCODE
一维码
|
CODE_TYPE_NONE
不显示code和条形码类型
|
CODE_TYPE_ONLY_BARCODE
一维码无code显示
|
CODE_TYPE_ONLY_QRCODE
二维码无code显示
|
CODE_TYPE_QRCODE
二维码
|
CODE_TYPE_TEXT
文本
|
| Modifier and Type | Method and Description |
|---|---|
static CardCodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CardCodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardCodeType CODE_TYPE_TEXT
public static final CardCodeType CODE_TYPE_BARCODE
public static final CardCodeType CODE_TYPE_QRCODE
public static final CardCodeType CODE_TYPE_ONLY_QRCODE
public static final CardCodeType CODE_TYPE_ONLY_BARCODE
public static final CardCodeType CODE_TYPE_NONE
public static CardCodeType[] values()
for (CardCodeType c : CardCodeType.values()) System.out.println(c);
public static CardCodeType 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 nullCopyright © 2024. All rights reserved.