public static enum YearPage.DisplayMode extends Enum<YearPage.DisplayMode>
YearPage
. The
page can display the 12 months of a year in a grid or a column layout.YearPage.displayModeProperty()
Modifier and Type | Method and Description |
---|---|
static YearPage.DisplayMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YearPage.DisplayMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YearPage.DisplayMode GRID
public static final YearPage.DisplayMode COLUMNS
public static YearPage.DisplayMode[] values()
for (YearPage.DisplayMode c : YearPage.DisplayMode.values()) System.out.println(c);
public static YearPage.DisplayMode 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 © 2017 Dirk Lemmermann Software & Consulting. All rights reserved.