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_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
    BACKGROUND_1
    Background 1 Theme Color
    BACKGROUND_2
    Background 2 Theme Color
    DARK_1
    Dark 1 Theme Color
    DARK_2
    Dark 2 Theme Color
    FOLLOWED_HYPERLINK
    Followed Hyperlink Theme Color
    HYPERLINK
    Hyperlink Theme Color
    LIGHT_1
    Light 1 Theme Color
    LIGHT_2
    Light 2 Theme Color
    NONE
    No Theme Color
    TEXT_1
    Text 1 Theme Color
    TEXT_2
    Text 2 Theme Color
  • Method Summary

    Modifier and Type Method Description
    static STThemeColor fromValue​(java.lang.String v)  
    java.lang.String value()  
    static STThemeColor valueOf​(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, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • 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​(java.lang.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:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
    • value

      public java.lang.String value()
    • fromValue

      public static STThemeColor fromValue​(java.lang.String v)