Package com.thalesgroup.gemalto.d1
Enum PINEntryUI.PINEvent
- java.lang.Object
-
- java.lang.Enum<PINEntryUI.PINEvent>
-
- com.thalesgroup.gemalto.d1.PINEntryUI.PINEvent
-
- All Implemented Interfaces:
Serializable
,Comparable<PINEntryUI.PINEvent>
- Enclosing class:
- PINEntryUI
public static enum PINEntryUI.PINEvent extends Enum<PINEntryUI.PINEvent>
Enum class for PIN entry events.- Since:
- 3.3.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIRST_ENTRY_FINISH
Event that the first PIN entry has been filled to the the expected length while the second entry has not been filled to the expected length.PIN_MATCH
Event that the both PIN entries have been filled to the expected length and their values match.PIN_MISMATCH
Event that the both PIN entries have been filled to the expected length and their values mismatch.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PINEntryUI.PINEvent
valueOf(String name)
Returns the enum constant of this type with the specified name.static PINEntryUI.PINEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIRST_ENTRY_FINISH
public static final PINEntryUI.PINEvent FIRST_ENTRY_FINISH
Event that the first PIN entry has been filled to the the expected length while the second entry has not been filled to the expected length.- Since:
- 3.3.0
-
PIN_MISMATCH
public static final PINEntryUI.PINEvent PIN_MISMATCH
Event that the both PIN entries have been filled to the expected length and their values mismatch.- Since:
- 3.3.0
-
PIN_MATCH
public static final PINEntryUI.PINEvent PIN_MATCH
Event that the both PIN entries have been filled to the expected length and their values match.- Since:
- 3.3.0
-
-
Method Detail
-
values
public static PINEntryUI.PINEvent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PINEntryUI.PINEvent c : PINEntryUI.PINEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PINEntryUI.PINEvent valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-