[]
Serializable, Comparable<ThemeColor>, ConstableUse this enumeration to refer to colors in a workbook theme, such as light and dark colors, accent colors, and hyperlink colors. These constants can be used when customizing a Theme color scheme or when applying a theme-based color to workbook content.
Theme theme = new Theme("customTheme");
theme.getThemeColorScheme().get(ThemeColor.Light1).setRGB(Color.GetAntiqueWhite());
theme.getThemeColorScheme().get(ThemeColor.Accent1).setRGB(Color.GetBlue());
workbook.setTheme(theme);
Enum.EnumDesc<E extends Enum<E>>static ThemeColorforValue(int value) intgetValue()static ThemeColorstatic ThemeColor[]values()name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is nullvalue - The integer value of the theme color.ThemeColor enum constant associated with the specified value.IllegalArgumentException - if value does not match a defined theme color.