Package org.docx4j.wml
Enum STThemeColor
- All Implemented Interfaces:
Serializable
,Comparable<STThemeColor>
,java.lang.constant.Constable
Java class for ST_ThemeColor.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ST_ThemeColor"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="dark1"/> <enumeration value="light1"/> <enumeration value="dark2"/> <enumeration value="light2"/> <enumeration value="accent1"/> <enumeration value="accent2"/> <enumeration value="accent3"/> <enumeration value="accent4"/> <enumeration value="accent5"/> <enumeration value="accent6"/> <enumeration value="hyperlink"/> <enumeration value="followedHyperlink"/> <enumeration value="none"/> <enumeration value="background1"/> <enumeration value="text1"/> <enumeration value="background2"/> <enumeration value="text2"/> </restriction> </simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAccent 1 Theme ColorAccent 2 Theme ColorAccent 3 Theme ColorAccent 4 Theme ColorAccent 5 Theme ColorAccent 6 Theme ColorBackground 1 Theme ColorBackground 2 Theme ColorDark 1 Theme ColorDark 2 Theme ColorFollowed Hyperlink Theme ColorHyperlink Theme ColorLight 1 Theme ColorLight 2 Theme ColorNo Theme ColorText 1 Theme ColorText 2 Theme Color -
Method Summary
Modifier and TypeMethodDescriptionstatic STThemeColor
value()
static STThemeColor
Returns the enum constant of this type with the specified name.static STThemeColor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DARK_1
Dark 1 Theme Color -
LIGHT_1
Light 1 Theme Color -
DARK_2
Dark 2 Theme Color -
LIGHT_2
Light 2 Theme Color -
ACCENT_1
Accent 1 Theme Color -
ACCENT_2
Accent 2 Theme Color -
ACCENT_3
Accent 3 Theme Color -
ACCENT_4
Accent 4 Theme Color -
ACCENT_5
Accent 5 Theme Color -
ACCENT_6
Accent 6 Theme Color -
HYPERLINK
Hyperlink Theme Color -
FOLLOWED_HYPERLINK
Followed Hyperlink Theme Color -
NONE
No Theme Color -
BACKGROUND_1
Background 1 Theme Color -
TEXT_1
Text 1 Theme Color -
BACKGROUND_2
Background 2 Theme Color -
TEXT_2
Text 2 Theme Color
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
-
fromValue
-