public enum SLCalendarMode extends Enum<SLCalendarMode>
Enum Constant and Description |
---|
DECADE
The Calendar displays a decade at a time.
|
MONTH
The Calendar displays a month at a time.
|
YEAR
The Calendar displays a year at a time.
|
Modifier and Type | Method and Description |
---|---|
static SLCalendarMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SLCalendarMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SLCalendarMode MONTH
public static final SLCalendarMode YEAR
public static final SLCalendarMode DECADE
public static SLCalendarMode[] values()
for (SLCalendarMode c : SLCalendarMode.values()) System.out.println(c);
public static SLCalendarMode 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.