public static enum TipOfTheDay.TipStyle extends java.lang.Enum<TipOfTheDay.TipStyle>
Enum Constant and Description |
---|
HEADER |
TWO_COLUMNS |
TWO_COLUMNS_LARGE |
Modifier and Type | Method and Description |
---|---|
static TipOfTheDay.TipStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TipOfTheDay.TipStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TipOfTheDay.TipStyle TWO_COLUMNS
public static final TipOfTheDay.TipStyle TWO_COLUMNS_LARGE
public static final TipOfTheDay.TipStyle HEADER
public static TipOfTheDay.TipStyle[] values()
for (TipOfTheDay.TipStyle c : TipOfTheDay.TipStyle.values()) System.out.println(c);
public static TipOfTheDay.TipStyle valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null