public enum Theme extends Enum<Theme>
Java class for theme.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="theme">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="default"/>
<enumeration value="iridescent"/>
<enumeration value="bright"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BRIGHT |
DEFAULT |
IRIDESCENT |
| Modifier and Type | Method and Description |
|---|---|
static Theme |
fromValue(String v) |
String |
value() |
static Theme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Theme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Theme DEFAULT
public static final Theme IRIDESCENT
public static final Theme BRIGHT
public static Theme[] values()
for (Theme c : Theme.values()) System.out.println(c);
public static Theme 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 nullpublic String value()
Copyright © 2012–2014 RedSoft. All rights reserved.