public enum CardSource extends Enum<CardSource>
Enum Constant and Description |
---|
ATM
ATM card feeder.
|
AutoDetect
Main feeder or ATM.
|
Feeder
Main card feeder.
|
Internal
Internal to the printer.
|
Modifier and Type | Method and Description |
---|---|
static CardSource |
fromString(String text)
Returns the CardSource enumeration for the specified text or null if no enumeration matches the specified text.
|
int |
getValue()
Returns the integer representation of the enumeration member.
|
static CardSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CardSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardSource ATM
public static final CardSource Feeder
public static final CardSource Internal
public static final CardSource AutoDetect
public static CardSource[] values()
for (CardSource c : CardSource.values()) System.out.println(c);
public static CardSource 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()
public static CardSource fromString(String text)
text
- Text representation of the specified CardSource enumeration member.
© 2016 ZIH Corp. All Rights Reserved.