Package com.grapecity.documents.excel
Enum Class ThemeColor
- All Implemented Interfaces:
Serializable,Comparable<ThemeColor>,Constable
指定主题颜色。这是显示的顺序。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ThemeColorforValue(int value) intgetValue()static ThemeColorReturns the enum constant of this class with the specified name.static ThemeColor[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
指定不使用任何主题颜色。 -
Light1
指定浅色1主题颜色。 -
Dark1
指定深色1主题颜色。 -
Light2
指定浅色2主题颜色。 -
Dark2
指定深色2主题颜色。 -
Accent1
指定强调色1的主题颜色。 -
Accent2
指定强调色2主题颜色。 -
Accent3
指定强调色3主题颜色。 -
Accent4
指定强调色4主题颜色。 -
Accent5
指定强调色5主题颜色。 -
Accent6
指定强调色6主题颜色。 -
Hyperlink
指定超链接主题颜色。 -
FollowedHyperlink
指定下列超链接主题颜色。
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue() -
forValue
-