Package org.xlsx4j.sml
Class CTColor
java.lang.Object
org.xlsx4j.sml.CTColor
- All Implemented Interfaces:
Child
public class CTColor extends java.lang.Object implements Child
Java class for CT_Color complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Color">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="auto" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="indexed" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="rgb" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_UnsignedIntHex" />
<attribute name="theme" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="tint" type="{http://www.w3.org/2001/XMLSchema}double" default="0.0" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CTColor() -
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.LonggetIndexed()Gets the value of the indexed property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.byte[]getRgb()Gets the value of the rgb property.java.lang.LonggetTheme()Gets the value of the theme property.doublegetTint()Gets the value of the tint property.java.lang.BooleanisAuto()Gets the value of the auto property.voidsetAuto(java.lang.Boolean value)Sets the value of the auto property.voidsetIndexed(java.lang.Long value)Sets the value of the indexed property.voidsetParent(java.lang.Object parent)voidsetRgb(byte[] value)Sets the value of the rgb property.voidsetTheme(java.lang.Long value)Sets the value of the theme property.voidsetTint(java.lang.Double value)Sets the value of the tint property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
auto
protected java.lang.Boolean auto -
indexed
protected java.lang.Long indexed -
rgb
protected byte[] rgb -
theme
protected java.lang.Long theme -
tint
protected java.lang.Double tint
-
-
Constructor Details
-
CTColor
public CTColor()
-
-
Method Details
-
isAuto
public java.lang.Boolean isAuto()Gets the value of the auto property.- Returns:
- possible object is
Boolean
-
setAuto
public void setAuto(java.lang.Boolean value)Sets the value of the auto property.- Parameters:
value- allowed object isBoolean
-
getIndexed
public java.lang.Long getIndexed()Gets the value of the indexed property.- Returns:
- possible object is
Long
-
setIndexed
public void setIndexed(java.lang.Long value)Sets the value of the indexed property.- Parameters:
value- allowed object isLong
-
getRgb
public byte[] getRgb()Gets the value of the rgb property.- Returns:
- possible object is
String
-
setRgb
public void setRgb(byte[] value)Sets the value of the rgb property.- Parameters:
value- allowed object isString
-
getTheme
public java.lang.Long getTheme()Gets the value of the theme property.- Returns:
- possible object is
Long
-
setTheme
public void setTheme(java.lang.Long value)Sets the value of the theme property.- Parameters:
value- allowed object isLong
-
getTint
public double getTint()Gets the value of the tint property.- Returns:
- possible object is
Double
-
setTint
public void setTint(java.lang.Double value)Sets the value of the tint property.- Parameters:
value- allowed object isDouble
-
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.
-