public static enum ThemeManager.BuiltInTheme extends java.lang.Enum<ThemeManager.BuiltInTheme>
| Enum Constant and Description |
|---|
CLASSIC |
MATERIAL |
WIN_SERV_2012 |
WIN10 |
WIN8 |
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
abbreviation
The Theme name abbreviation as in
Theme.getName() |
private java.lang.Class<? extends Theme> |
themeClass
The Theme class
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Class<? extends Theme> |
findMatch(java.lang.String name)
Looks for a theme name into all enum entries and returns the class of the found Theme or
null. |
static ThemeManager.BuiltInTheme |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThemeManager.BuiltInTheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThemeManager.BuiltInTheme CLASSIC
public static final ThemeManager.BuiltInTheme WIN10
public static final ThemeManager.BuiltInTheme MATERIAL
public static final ThemeManager.BuiltInTheme WIN8
public static final ThemeManager.BuiltInTheme WIN_SERV_2012
private final java.lang.Class<? extends Theme> themeClass
private final java.lang.String abbreviation
Theme.getName()public static ThemeManager.BuiltInTheme[] values()
for (ThemeManager.BuiltInTheme c : ThemeManager.BuiltInTheme.values()) System.out.println(c);
public static ThemeManager.BuiltInTheme 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 static java.lang.Class<? extends Theme> findMatch(java.lang.String name)
null. The match can be the fully qualified class name, the simple class name or
Theme.getName().name - A theme name to be found among the built-in themes.null.