java.lang.Object
org.docx4j.com.microsoft.schemas.office.drawing.x2012.chartStyle.CTColorStyle
All Implemented Interfaces:
Child

public class CTColorStyle
extends java.lang.Object
implements Child

Java class for CT_ColorStyle complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_ColorStyle">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_ColorChoice" maxOccurs="unbounded"/>
         <element name="variation" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}CT_ColorStyleVariation" maxOccurs="unbounded" minOccurs="0"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
       </sequence>
       <attribute name="meth" use="required" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}ST_ColorStyleMethod" />
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.util.List<java.lang.Object> egColorChoice  
    protected CTOfficeArtExtensionList extLst  
    protected java.lang.Long id  
    protected java.lang.String meth  
    protected java.util.List<CTColorStyleVariation> variation  
  • Constructor Summary

    Constructors
    Constructor Description
    CTColorStyle()  
  • Method Summary

    Modifier and Type Method Description
    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.
    java.util.List<java.lang.Object> getEGColorChoice()
    Gets the value of the egColorChoice property.
    CTOfficeArtExtensionList getExtLst()
    Gets the value of the extLst property.
    java.lang.Long getId()
    Gets the value of the id property.
    java.lang.String getMeth()
    Gets the value of the meth property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    java.util.List<CTColorStyleVariation> getVariation()
    Gets the value of the variation property.
    void setExtLst​(CTOfficeArtExtensionList value)
    Sets the value of the extLst property.
    void setId​(java.lang.Long value)
    Sets the value of the id property.
    void setMeth​(java.lang.String value)
    Sets the value of the meth property.
    void setParent​(java.lang.Object parent)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • egColorChoice

      protected java.util.List<java.lang.Object> egColorChoice
    • variation

      protected java.util.List<CTColorStyleVariation> variation
    • extLst

      protected CTOfficeArtExtensionList extLst
    • meth

      protected java.lang.String meth
    • id

      protected java.lang.Long id
  • Constructor Details

    • CTColorStyle

      public CTColorStyle()
  • Method Details

    • getEGColorChoice

      public java.util.List<java.lang.Object> getEGColorChoice()
      Gets the value of the egColorChoice property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the egColorChoice property.

      For example, to add a new item, do as follows:

          getEGColorChoice().add(newItem);
       

      Objects of the following type(s) are allowed in the list CTScRgbColor CTSRgbColor CTHslColor CTSystemColor CTSchemeColor CTPresetColor

    • getVariation

      public java.util.List<CTColorStyleVariation> getVariation()
      Gets the value of the variation property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the variation property.

      For example, to add a new item, do as follows:

          getVariation().add(newItem);
       

      Objects of the following type(s) are allowed in the list CTColorStyleVariation

    • getExtLst

      public CTOfficeArtExtensionList getExtLst()
      Gets the value of the extLst property.
      Returns:
      possible object is CTOfficeArtExtensionList
    • setExtLst

      public void setExtLst​(CTOfficeArtExtensionList value)
      Sets the value of the extLst property.
      Parameters:
      value - allowed object is CTOfficeArtExtensionList
    • getMeth

      public java.lang.String getMeth()
      Gets the value of the meth property.
      Returns:
      possible object is String
    • setMeth

      public void setMeth​(java.lang.String value)
      Sets the value of the meth property.
      Parameters:
      value - allowed object is String
    • getId

      public java.lang.Long getId()
      Gets the value of the id property.
      Returns:
      possible object is Long
    • setId

      public void setId​(java.lang.Long value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is Long
    • 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​(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.