public enum CalendarSelectionMode extends Enum<CalendarSelectionMode>
Enum Constant and Description |
---|
MULTIPLE_RANGE
Multiple non-contiguous ranges of dates can be selected.
|
NONE
No selections are allowed.
|
SINGLE_DATE
Specifies whether a single or multiple dates can be selected in a Calendar.
|
SINGLE_RANGE
A single range of dates can be selected.
|
Modifier and Type | Method and Description |
---|---|
static CalendarSelectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CalendarSelectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CalendarSelectionMode SINGLE_DATE
public static final CalendarSelectionMode SINGLE_RANGE
public static final CalendarSelectionMode MULTIPLE_RANGE
public static final CalendarSelectionMode NONE
public static CalendarSelectionMode[] values()
for (CalendarSelectionMode c : CalendarSelectionMode.values()) System.out.println(c);
public static CalendarSelectionMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright 2009-2012 Micro Focus. All Rights Reserved.