Package org.eclipse.keypop.reader
Enum Class CardReaderEvent.Type
- All Implemented Interfaces:
Serializable
,Comparable<CardReaderEvent.Type>
,Constable
- Enclosing interface:
- CardReaderEvent
Possible card events.
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA card has been inserted with or without specific selection.A card has been inserted that matches the selection.The card has been removed from the reader.The reader has become unavailable. -
Method Summary
Modifier and TypeMethodDescriptionstatic CardReaderEvent.Type
Returns the enum constant of this class with the specified name.static CardReaderEvent.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CARD_INSERTED
A card has been inserted with or without specific selection.- Since:
- 1.0.0
-
CARD_MATCHED
A card has been inserted that matches the selection.- Since:
- 1.0.0
-
CARD_REMOVED
The card has been removed from the reader.- Since:
- 1.0.0
-
UNAVAILABLE
The reader has become unavailable.- Since:
- 1.0.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-