public static enum ApplicationSkin.SkinMode extends java.lang.Enum<ApplicationSkin.SkinMode>
Modifier and Type | Method and Description |
---|---|
static ApplicationSkin.SkinMode |
fromString(java.lang.String desc) |
java.lang.String |
getDesc() |
static ApplicationSkin.SkinMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationSkin.SkinMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationSkin.SkinMode DAY
public static final ApplicationSkin.SkinMode NIGHT
public static ApplicationSkin.SkinMode[] values()
for (ApplicationSkin.SkinMode c : ApplicationSkin.SkinMode.values()) System.out.println(c);
public static ApplicationSkin.SkinMode 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 nullpublic java.lang.String getDesc()
public static ApplicationSkin.SkinMode fromString(java.lang.String desc)
desc
- string describing this skin