org.odlabs.wiquery.ui.datepicker
Enum DatePickerYearRange.DatePickerYearRangeControl
java.lang.Object
java.lang.Enum<DatePickerYearRange.DatePickerYearRangeControl>
org.odlabs.wiquery.ui.datepicker.DatePickerYearRange.DatePickerYearRangeControl
- All Implemented Interfaces:
- Serializable, Comparable<DatePickerYearRange.DatePickerYearRangeControl>
- Enclosing class:
- DatePickerYearRange
public static enum DatePickerYearRange.DatePickerYearRangeControl
- extends Enum<DatePickerYearRange.DatePickerYearRangeControl>
Control for the DatePickerYearRange
- Since:
- 1.2.2
- Author:
- Julien Roche
ABSOLUTE
public static final DatePickerYearRange.DatePickerYearRangeControl ABSOLUTE
RELATIVE_SELECTED_YEAR
public static final DatePickerYearRange.DatePickerYearRangeControl RELATIVE_SELECTED_YEAR
RELATIVE_TODAY
public static final DatePickerYearRange.DatePickerYearRangeControl RELATIVE_TODAY
values
public static DatePickerYearRange.DatePickerYearRangeControl[] 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 (DatePickerYearRange.DatePickerYearRangeControl c : DatePickerYearRange.DatePickerYearRangeControl.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DatePickerYearRange.DatePickerYearRangeControl 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 name
NullPointerException
- if the argument is null
Copyright © 2012. All Rights Reserved.