Package org.xlsx4j.sml
Class CTColor
java.lang.Object
org.xlsx4j.sml.CTColor
- All Implemented Interfaces:
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the indexed property.Gets the parent object in the object tree representing the unmarshalled xml document.byte[]getRgb()Gets the value of the rgb property.getTheme()Gets the value of the theme property.doublegetTint()Gets the value of the tint property.isAuto()Gets the value of the auto property.voidSets the value of the auto property.voidsetIndexed(Long value) Sets the value of the indexed property.voidvoidsetRgb(byte[] value) Sets the value of the rgb property.voidSets the value of the theme property.voidSets the value of the tint property.
-
Field Details
-
auto
-
indexed
-
rgb
protected byte[] rgb -
theme
-
tint
-
-
Constructor Details
-
CTColor
public CTColor()
-
-
Method Details
-
isAuto
Gets the value of the auto property.- Returns:
- possible object is
Boolean
-
setAuto
Sets the value of the auto property.- Parameters:
value- allowed object isBoolean
-
getIndexed
Gets the value of the indexed property.- Returns:
- possible object is
Long
-
setIndexed
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
Gets the value of the theme property.- Returns:
- possible object is
Long
-
setTheme
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
Sets the value of the tint property.- Parameters:
value- allowed object isDouble
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-