Enum Class CardReaderEvent.Type

java.lang.Object
java.lang.Enum<CardReaderEvent.Type>
org.eclipse.keypop.reader.CardReaderEvent.Type
All Implemented Interfaces:
Serializable, Comparable<CardReaderEvent.Type>, Constable
Enclosing interface:
CardReaderEvent

public static enum CardReaderEvent.Type extends Enum<CardReaderEvent.Type>
Possible card events.
Since:
1.0.0
  • Enum Constant Details

    • CARD_INSERTED

      public static final CardReaderEvent.Type CARD_INSERTED
      A card has been inserted with or without specific selection.
      Since:
      1.0.0
    • CARD_MATCHED

      public static final CardReaderEvent.Type CARD_MATCHED
      A card has been inserted that matches the selection.
      Since:
      1.0.0
    • CARD_REMOVED

      public static final CardReaderEvent.Type CARD_REMOVED
      The card has been removed from the reader.
      Since:
      1.0.0
    • UNAVAILABLE

      public static final CardReaderEvent.Type UNAVAILABLE
      The reader has become unavailable.
      Since:
      1.0.0
  • Method Details

    • values

      public static CardReaderEvent.Type[] 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

      public static CardReaderEvent.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null