Package org.docx4j.wml
Enum STThemeColor
java.lang.Object
java.lang.Enum<STThemeColor>
org.docx4j.wml.STThemeColor
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<STThemeColor>,java.lang.constant.Constable
public enum STThemeColor extends java.lang.Enum<STThemeColor>
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
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description ACCENT_1Accent 1 Theme ColorACCENT_2Accent 2 Theme ColorACCENT_3Accent 3 Theme ColorACCENT_4Accent 4 Theme ColorACCENT_5Accent 5 Theme ColorACCENT_6Accent 6 Theme ColorBACKGROUND_1Background 1 Theme ColorBACKGROUND_2Background 2 Theme ColorDARK_1Dark 1 Theme ColorDARK_2Dark 2 Theme ColorFOLLOWED_HYPERLINKFollowed Hyperlink Theme ColorHYPERLINKHyperlink Theme ColorLIGHT_1Light 1 Theme ColorLIGHT_2Light 2 Theme ColorNONENo Theme ColorTEXT_1Text 1 Theme ColorTEXT_2Text 2 Theme Color -
Method Summary
Modifier and Type Method Description static STThemeColorfromValue(java.lang.String v)java.lang.Stringvalue()static STThemeColorvalueOf(java.lang.String name)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.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
value
public java.lang.String value() -
fromValue
-