Package org.docx4j.wml
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.Stringcolorprotected STThemeColorthemeColorprotected java.lang.StringthemeShadeprotected java.lang.StringthemeTintFields inherited from class org.docx4j.wml.CTPictureBase
anyAndAny -
Constructor Summary
Constructors Constructor Description CTBackground() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(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.StringgetColor()Gets the value of the color property.STThemeColorgetThemeColor()Gets the value of the themeColor property.java.lang.StringgetThemeShade()Gets the value of the themeShade property.java.lang.StringgetThemeTint()Gets the value of the themeTint property.voidsetColor(java.lang.String value)Sets the value of the color property.voidsetThemeColor(STThemeColor value)Sets the value of the themeColor property.voidsetThemeShade(java.lang.String value)Sets the value of the themeShade property.voidsetThemeTint(java.lang.String value)Sets the value of the themeTint property.Methods inherited from class org.docx4j.wml.CTPictureBase
getAnyAndAny, getParent, setParentMethods 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
-
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 isString
-
getThemeColor
Gets the value of the themeColor property.- Returns:
- possible object is
STThemeColor
-
setThemeColor
Sets the value of the themeColor property.- Parameters:
value- allowed object isSTThemeColor
-
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 isString
-
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 isString
-
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:
afterUnmarshalin classCTPictureBase- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-