Package org.docx4j.dml
Class CTCustomColor
java.lang.Object
org.docx4j.dml.CTCustomColor
- All Implemented Interfaces:
Child
public class CTCustomColor extends java.lang.Object implements Child
Java class for CT_CustomColor complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_CustomColor">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_ColorChoice"/>
</sequence>
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected CTHslColorhslClrprotected java.lang.Stringnameprotected CTPresetColorprstClrprotected CTSchemeColorschemeClrprotected CTScRgbColorscrgbClrprotected CTSRgbColorsrgbClrprotected CTSystemColorsysClr -
Constructor Summary
Constructors Constructor Description CTCustomColor() -
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.CTHslColorgetHslClr()Gets the value of the hslClr property.java.lang.StringgetName()Gets the value of the name property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTPresetColorgetPrstClr()Gets the value of the prstClr property.CTSchemeColorgetSchemeClr()Gets the value of the schemeClr property.CTScRgbColorgetScrgbClr()Gets the value of the scrgbClr property.CTSRgbColorgetSrgbClr()Gets the value of the srgbClr property.CTSystemColorgetSysClr()Gets the value of the sysClr property.voidsetHslClr(CTHslColor value)Sets the value of the hslClr property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetParent(java.lang.Object parent)voidsetPrstClr(CTPresetColor value)Sets the value of the prstClr property.voidsetSchemeClr(CTSchemeColor value)Sets the value of the schemeClr property.voidsetScrgbClr(CTScRgbColor value)Sets the value of the scrgbClr property.voidsetSrgbClr(CTSRgbColor value)Sets the value of the srgbClr property.voidsetSysClr(CTSystemColor value)Sets the value of the sysClr property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
scrgbClr
-
srgbClr
-
hslClr
-
sysClr
-
schemeClr
-
prstClr
-
name
protected java.lang.String name
-
-
Constructor Details
-
CTCustomColor
public CTCustomColor()
-
-
Method Details
-
getScrgbClr
Gets the value of the scrgbClr property.- Returns:
- possible object is
CTScRgbColor
-
setScrgbClr
Sets the value of the scrgbClr property.- Parameters:
value- allowed object isCTScRgbColor
-
getSrgbClr
Gets the value of the srgbClr property.- Returns:
- possible object is
CTSRgbColor
-
setSrgbClr
Sets the value of the srgbClr property.- Parameters:
value- allowed object isCTSRgbColor
-
getHslClr
Gets the value of the hslClr property.- Returns:
- possible object is
CTHslColor
-
setHslClr
Sets the value of the hslClr property.- Parameters:
value- allowed object isCTHslColor
-
getSysClr
Gets the value of the sysClr property.- Returns:
- possible object is
CTSystemColor
-
setSysClr
Sets the value of the sysClr property.- Parameters:
value- allowed object isCTSystemColor
-
getSchemeClr
Gets the value of the schemeClr property.- Returns:
- possible object is
CTSchemeColor
-
setSchemeClr
Sets the value of the schemeClr property.- Parameters:
value- allowed object isCTSchemeColor
-
getPrstClr
Gets the value of the prstClr property.- Returns:
- possible object is
CTPresetColor
-
setPrstClr
Sets the value of the prstClr property.- Parameters:
value- allowed object isCTPresetColor
-
getName
public java.lang.String getName()Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)Sets the value of the name property.- Parameters:
value- allowed object isString
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
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.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-