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

    Fields 
    Modifier and Type Field Description
    protected java.lang.Boolean auto  
    protected java.lang.Long indexed  
    protected byte[] rgb  
    protected java.lang.Long theme  
    protected java.lang.Double tint  
  • Constructor Summary

    Constructors 
    Constructor Description
    CTColor()  
  • Method Summary

    Modifier and Type Method Description
    void afterUnmarshal​(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
    This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
    java.lang.Long getIndexed()
    Gets the value of the indexed property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    byte[] getRgb()
    Gets the value of the rgb property.
    java.lang.Long getTheme()
    Gets the value of the theme property.
    double getTint()
    Gets the value of the tint property.
    java.lang.Boolean isAuto()
    Gets the value of the auto property.
    void setAuto​(java.lang.Boolean value)
    Sets the value of the auto property.
    void setIndexed​(java.lang.Long value)
    Sets the value of the indexed property.
    void setParent​(java.lang.Object parent)  
    void setRgb​(byte[] value)
    Sets the value of the rgb property.
    void setTheme​(java.lang.Long value)
    Sets the value of the theme property.
    void setTint​(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

  • 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 is Boolean
    • 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 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 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 is Long
    • 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 is Double
    • getParent

      public java.lang.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​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal​(javax.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.