Class CTOfPieChart

java.lang.Object
org.docx4j.dml.chart.CTOfPieChart
All Implemented Interfaces:
Child

public class CTOfPieChart extends Object implements Child

Java class for CT_OfPieChart complex type.

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

 <complexType name="CT_OfPieChart">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ofPieType" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_OfPieType"/>
         <group ref="{http://schemas.openxmlformats.org/drawingml/2006/chart}EG_PieChartShared"/>
         <element name="gapWidth" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_GapAmount" minOccurs="0"/>
         <element name="splitType" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_SplitType" minOccurs="0"/>
         <element name="splitPos" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_Double" minOccurs="0"/>
         <element name="custSplit" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_CustSplit" minOccurs="0"/>
         <element name="secondPieSize" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_SecondPieSize" minOccurs="0"/>
         <element name="serLines" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_ChartLines" maxOccurs="unbounded" minOccurs="0"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_ExtensionList" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTOfPieChart

      public CTOfPieChart()
  • Method Details

    • getOfPieType

      public CTOfPieType getOfPieType()
      Gets the value of the ofPieType property.
      Returns:
      possible object is CTOfPieType
    • setOfPieType

      public void setOfPieType(CTOfPieType value)
      Sets the value of the ofPieType property.
      Parameters:
      value - allowed object is CTOfPieType
    • getVaryColors

      public CTBoolean getVaryColors()
      Gets the value of the varyColors property.
      Returns:
      possible object is CTBoolean
    • setVaryColors

      public void setVaryColors(CTBoolean value)
      Sets the value of the varyColors property.
      Parameters:
      value - allowed object is CTBoolean
    • getSer

      public List<CTPieSer> getSer()
      Gets the value of the ser 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 ser property.

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

          getSer().add(newItem);
       

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

    • getDLbls

      public CTDLbls getDLbls()
      Gets the value of the dLbls property.
      Returns:
      possible object is CTDLbls
    • setDLbls

      public void setDLbls(CTDLbls value)
      Sets the value of the dLbls property.
      Parameters:
      value - allowed object is CTDLbls
    • getGapWidth

      public CTGapAmount getGapWidth()
      Gets the value of the gapWidth property.
      Returns:
      possible object is CTGapAmount
    • setGapWidth

      public void setGapWidth(CTGapAmount value)
      Sets the value of the gapWidth property.
      Parameters:
      value - allowed object is CTGapAmount
    • getSplitType

      public CTSplitType getSplitType()
      Gets the value of the splitType property.
      Returns:
      possible object is CTSplitType
    • setSplitType

      public void setSplitType(CTSplitType value)
      Sets the value of the splitType property.
      Parameters:
      value - allowed object is CTSplitType
    • getSplitPos

      public CTDouble getSplitPos()
      Gets the value of the splitPos property.
      Returns:
      possible object is CTDouble
    • setSplitPos

      public void setSplitPos(CTDouble value)
      Sets the value of the splitPos property.
      Parameters:
      value - allowed object is CTDouble
    • getCustSplit

      public CTCustSplit getCustSplit()
      Gets the value of the custSplit property.
      Returns:
      possible object is CTCustSplit
    • setCustSplit

      public void setCustSplit(CTCustSplit value)
      Sets the value of the custSplit property.
      Parameters:
      value - allowed object is CTCustSplit
    • getSecondPieSize

      public CTSecondPieSize getSecondPieSize()
      Gets the value of the secondPieSize property.
      Returns:
      possible object is CTSecondPieSize
    • setSecondPieSize

      public void setSecondPieSize(CTSecondPieSize value)
      Sets the value of the secondPieSize property.
      Parameters:
      value - allowed object is CTSecondPieSize
    • getSerLines

      public List<CTChartLines> getSerLines()
      Gets the value of the serLines 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 serLines property.

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

          getSerLines().add(newItem);
       

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

    • getExtLst

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

      public void setExtLst(CTExtensionList value)
      Sets the value of the extLst property.
      Parameters:
      value - allowed object is CTExtensionList
    • 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.