Package org.primefaces.component.api
Enum UICalendar.ValidationResult
- java.lang.Object
-
- java.lang.Enum<UICalendar.ValidationResult>
-
- org.primefaces.component.api.UICalendar.ValidationResult
-
- All Implemented Interfaces:
Serializable
,Comparable<UICalendar.ValidationResult>
- Enclosing class:
- UICalendar
public static enum UICalendar.ValidationResult extends Enum<UICalendar.ValidationResult>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALID_DISABLED_DATE
INVALID_MAX_DATE
INVALID_MIN_DATE
INVALID_OUT_OF_RANGE
INVALID_RANGE_DATES_SEQUENTIAL
OK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UICalendar.ValidationResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static UICalendar.ValidationResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final UICalendar.ValidationResult OK
-
INVALID_DISABLED_DATE
public static final UICalendar.ValidationResult INVALID_DISABLED_DATE
-
INVALID_RANGE_DATES_SEQUENTIAL
public static final UICalendar.ValidationResult INVALID_RANGE_DATES_SEQUENTIAL
-
INVALID_MIN_DATE
public static final UICalendar.ValidationResult INVALID_MIN_DATE
-
INVALID_MAX_DATE
public static final UICalendar.ValidationResult INVALID_MAX_DATE
-
INVALID_OUT_OF_RANGE
public static final UICalendar.ValidationResult INVALID_OUT_OF_RANGE
-
-
Method Detail
-
values
public static UICalendar.ValidationResult[] 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 (UICalendar.ValidationResult c : UICalendar.ValidationResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UICalendar.ValidationResult 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
-
-