Class CTColor

java.lang.Object
org.xlsx4j.sml.CTColor
All Implemented Interfaces:
Child

public class CTColor extends 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 Details

    • auto

      protected Boolean auto
    • indexed

      protected Long indexed
    • rgb

      protected byte[] rgb
    • theme

      protected Long theme
    • tint

      protected Double tint
  • Constructor Details

    • CTColor

      public CTColor()
  • Method Details

    • isAuto

      public Boolean isAuto()
      Gets the value of the auto property.
      Returns:
      possible object is Boolean
    • setAuto

      public void setAuto(Boolean value)
      Sets the value of the auto property.
      Parameters:
      value - allowed object is Boolean
    • getIndexed

      public Long getIndexed()
      Gets the value of the indexed property.
      Returns:
      possible object is Long
    • setIndexed

      public void setIndexed(Long value)
      Sets the value of the indexed property.
      Parameters:
      value - allowed object is Long
    • 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 is String
    • getTheme

      public Long getTheme()
      Gets the value of the theme property.
      Returns:
      possible object is Long
    • setTheme

      public void setTheme(Long value)
      Sets the value of the theme property.
      Parameters:
      value - allowed object is Long
    • getTint

      public double getTint()
      Gets the value of the tint property.
      Returns:
      possible object is Double
    • setTint

      public void setTint(Double value)
      Sets the value of the tint property.
      Parameters:
      value - allowed object is Double
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.