Class CTBackground

java.lang.Object
org.docx4j.wml.CTPictureBase
org.docx4j.wml.CTBackground
All Implemented Interfaces:
Child

public class CTBackground
extends CTPictureBase

Java class for CT_Background complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_Background">
   <complexContent>
     <extension base="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_PictureBase">
       <attribute name="color" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_HexColor" />
       <attribute name="themeColor" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ThemeColor" />
       <attribute name="themeTint" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_UcharHexNumber" />
       <attribute name="themeShade" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_UcharHexNumber" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.String color  
    protected STThemeColor themeColor  
    protected java.lang.String themeShade  
    protected java.lang.String themeTint  

    Fields inherited from class org.docx4j.wml.CTPictureBase

    anyAndAny
  • Constructor Summary

    Constructors
    Constructor Description
    CTBackground()  
  • Method Summary

    Modifier and Type Method Description
    void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
    This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
    java.lang.String getColor()
    Gets the value of the color property.
    STThemeColor getThemeColor()
    Gets the value of the themeColor property.
    java.lang.String getThemeShade()
    Gets the value of the themeShade property.
    java.lang.String getThemeTint()
    Gets the value of the themeTint property.
    void setColor​(java.lang.String value)
    Sets the value of the color property.
    void setThemeColor​(STThemeColor value)
    Sets the value of the themeColor property.
    void setThemeShade​(java.lang.String value)
    Sets the value of the themeShade property.
    void setThemeTint​(java.lang.String value)
    Sets the value of the themeTint property.

    Methods inherited from class org.docx4j.wml.CTPictureBase

    getAnyAndAny, getParent, setParent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • color

      protected java.lang.String color
    • themeColor

      protected STThemeColor themeColor
    • themeTint

      protected java.lang.String themeTint
    • themeShade

      protected java.lang.String themeShade
  • Constructor Details

    • CTBackground

      public CTBackground()
  • Method Details

    • getColor

      public java.lang.String getColor()
      Gets the value of the color property.
      Returns:
      possible object is String
    • setColor

      public void setColor​(java.lang.String value)
      Sets the value of the color property.
      Parameters:
      value - allowed object is String
    • getThemeColor

      public STThemeColor getThemeColor()
      Gets the value of the themeColor property.
      Returns:
      possible object is STThemeColor
    • setThemeColor

      public void setThemeColor​(STThemeColor value)
      Sets the value of the themeColor property.
      Parameters:
      value - allowed object is STThemeColor
    • getThemeTint

      public java.lang.String getThemeTint()
      Gets the value of the themeTint property.
      Returns:
      possible object is String
    • setThemeTint

      public void setThemeTint​(java.lang.String value)
      Sets the value of the themeTint property.
      Parameters:
      value - allowed object is String
    • getThemeShade

      public java.lang.String getThemeShade()
      Gets the value of the themeShade property.
      Returns:
      possible object is String
    • setThemeShade

      public void setThemeShade​(java.lang.String value)
      Sets the value of the themeShade property.
      Parameters:
      value - allowed object is String
    • afterUnmarshal

      public void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
      This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
      Overrides:
      afterUnmarshal in class CTPictureBase
      Parameters:
      parent - The parent object in the object tree.
      unmarshaller - The unmarshaller that generated the instance.