Enum CreditCard.PropertyKeys
- java.lang.Object
-
- java.lang.Enum<CreditCard.PropertyKeys>
-
- org.primefaces.extensions.component.creditcard.CreditCard.PropertyKeys
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CreditCard.PropertyKeys>
- Enclosing class:
- CreditCard
protected static enum CreditCard.PropertyKeys extends java.lang.Enum<CreditCard.PropertyKeys>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description formattinglabelMonthYearlabelValidDateplaceholderCvcplaceholderExpiryplaceholderNameplaceholderNumberwidgetVarwidth
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CreditCard.PropertyKeysvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CreditCard.PropertyKeys[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
widgetVar
public static final CreditCard.PropertyKeys widgetVar
-
width
public static final CreditCard.PropertyKeys width
-
formatting
public static final CreditCard.PropertyKeys formatting
-
labelValidDate
public static final CreditCard.PropertyKeys labelValidDate
-
labelMonthYear
public static final CreditCard.PropertyKeys labelMonthYear
-
placeholderNumber
public static final CreditCard.PropertyKeys placeholderNumber
-
placeholderName
public static final CreditCard.PropertyKeys placeholderName
-
placeholderExpiry
public static final CreditCard.PropertyKeys placeholderExpiry
-
placeholderCvc
public static final CreditCard.PropertyKeys placeholderCvc
-
-
Method Detail
-
values
public static CreditCard.PropertyKeys[] 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 (CreditCard.PropertyKeys c : CreditCard.PropertyKeys.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreditCard.PropertyKeys valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-