|
Java Smart Card I/O | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<CardTerminals.State> javax.smartcardio.CardTerminals.State
public static enum CardTerminals.State
Enumeration of attributes of a CardTerminal. It is used as a parameter to the CardTerminals.list() method.
Enum Constant Summary | |
---|---|
ALL
All CardTerminals. |
|
CARD_ABSENT
CardTerminals in which a card is not present. |
|
CARD_INSERTION
CardTerminals for which a card insertion was detected during the latest call to waitForChange() call. |
|
CARD_PRESENT
CardTerminals in which a card is present. |
|
CARD_REMOVAL
CardTerminals for which a card removal was detected during the latest call to waitForChange() call. |
Method Summary | |
---|---|
static CardTerminals.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CardTerminals.State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CardTerminals.State ALL
public static final CardTerminals.State CARD_PRESENT
public static final CardTerminals.State CARD_ABSENT
public static final CardTerminals.State CARD_INSERTION
public static final CardTerminals.State CARD_REMOVAL
Method Detail |
---|
public static CardTerminals.State[] values()
for (CardTerminals.State c : CardTerminals.State.values()) System.out.println(c);
public static CardTerminals.State valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
Java Smart Card I/O | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |