public static enum Preferences.ColorTheme extends Enum<Preferences.ColorTheme>
Modifier and Type | Method and Description |
---|---|
Color |
getBackgroundColor() |
static Preferences.ColorTheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Preferences.ColorTheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Preferences.ColorTheme GRAY
public static final Preferences.ColorTheme CLASSIC
public static final Preferences.ColorTheme SANDSTONE
public static final Preferences.ColorTheme NAVY
public static Preferences.ColorTheme[] values()
for (Preferences.ColorTheme c : Preferences.ColorTheme.values()) System.out.println(c);
public static Preferences.ColorTheme 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 Color getBackgroundColor()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.