Enum STThemeColor

java.lang.Object
java.lang.Enum<STThemeColor>
org.docx4j.wml.STThemeColor
All Implemented Interfaces:
Serializable, Comparable<STThemeColor>, java.lang.constant.Constable

public enum STThemeColor extends 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>
 
  • Enum Constant Details

    • DARK_1

      public static final STThemeColor DARK_1
      Dark 1 Theme Color
    • LIGHT_1

      public static final STThemeColor LIGHT_1
      Light 1 Theme Color
    • DARK_2

      public static final STThemeColor DARK_2
      Dark 2 Theme Color
    • LIGHT_2

      public static final STThemeColor LIGHT_2
      Light 2 Theme Color
    • ACCENT_1

      public static final STThemeColor ACCENT_1
      Accent 1 Theme Color
    • ACCENT_2

      public static final STThemeColor ACCENT_2
      Accent 2 Theme Color
    • ACCENT_3

      public static final STThemeColor ACCENT_3
      Accent 3 Theme Color
    • ACCENT_4

      public static final STThemeColor ACCENT_4
      Accent 4 Theme Color
    • ACCENT_5

      public static final STThemeColor ACCENT_5
      Accent 5 Theme Color
    • ACCENT_6

      public static final STThemeColor ACCENT_6
      Accent 6 Theme Color
    • NONE

      public static final STThemeColor NONE
      No Theme Color
    • BACKGROUND_1

      public static final STThemeColor BACKGROUND_1
      Background 1 Theme Color
    • TEXT_1

      public static final STThemeColor TEXT_1
      Text 1 Theme Color
    • BACKGROUND_2

      public static final STThemeColor BACKGROUND_2
      Background 2 Theme Color
    • TEXT_2

      public static final STThemeColor TEXT_2
      Text 2 Theme Color
  • Method Details

    • values

      public static STThemeColor[] 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

      public static STThemeColor valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • value

      public String value()
    • fromValue

      public static STThemeColor fromValue(String v)