Class CTTrendline

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

public class CTTrendline
extends java.lang.Object
implements Child

Java class for CT_Trendline complex type.

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

 <complexType name="CT_Trendline">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="spPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ShapeProperties" minOccurs="0"/>
         <element name="trendlineType" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_TrendlineType"/>
         <element name="order" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_Order" minOccurs="0"/>
         <element name="period" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_Period" minOccurs="0"/>
         <element name="forward" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_Double" minOccurs="0"/>
         <element name="backward" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_Double" minOccurs="0"/>
         <element name="intercept" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_Double" minOccurs="0"/>
         <element name="dispRSqr" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_Boolean" minOccurs="0"/>
         <element name="dispEq" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_Boolean" minOccurs="0"/>
         <element name="trendlineLbl" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_TrendlineLbl" 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

    • CTTrendline

      public CTTrendline()
  • Method Details

    • getName

      public java.lang.String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName​(java.lang.String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getSpPr

      public CTShapeProperties getSpPr()
      Gets the value of the spPr property.
      Returns:
      possible object is CTShapeProperties
    • setSpPr

      public void setSpPr​(CTShapeProperties value)
      Sets the value of the spPr property.
      Parameters:
      value - allowed object is CTShapeProperties
    • getTrendlineType

      public CTTrendlineType getTrendlineType()
      Gets the value of the trendlineType property.
      Returns:
      possible object is CTTrendlineType
    • setTrendlineType

      public void setTrendlineType​(CTTrendlineType value)
      Sets the value of the trendlineType property.
      Parameters:
      value - allowed object is CTTrendlineType
    • getOrder

      public CTOrder getOrder()
      Gets the value of the order property.
      Returns:
      possible object is CTOrder
    • setOrder

      public void setOrder​(CTOrder value)
      Sets the value of the order property.
      Parameters:
      value - allowed object is CTOrder
    • getPeriod

      public CTPeriod getPeriod()
      Gets the value of the period property.
      Returns:
      possible object is CTPeriod
    • setPeriod

      public void setPeriod​(CTPeriod value)
      Sets the value of the period property.
      Parameters:
      value - allowed object is CTPeriod
    • getForward

      public CTDouble getForward()
      Gets the value of the forward property.
      Returns:
      possible object is CTDouble
    • setForward

      public void setForward​(CTDouble value)
      Sets the value of the forward property.
      Parameters:
      value - allowed object is CTDouble
    • getBackward

      public CTDouble getBackward()
      Gets the value of the backward property.
      Returns:
      possible object is CTDouble
    • setBackward

      public void setBackward​(CTDouble value)
      Sets the value of the backward property.
      Parameters:
      value - allowed object is CTDouble
    • getIntercept

      public CTDouble getIntercept()
      Gets the value of the intercept property.
      Returns:
      possible object is CTDouble
    • setIntercept

      public void setIntercept​(CTDouble value)
      Sets the value of the intercept property.
      Parameters:
      value - allowed object is CTDouble
    • getDispRSqr

      public CTBoolean getDispRSqr()
      Gets the value of the dispRSqr property.
      Returns:
      possible object is CTBoolean
    • setDispRSqr

      public void setDispRSqr​(CTBoolean value)
      Sets the value of the dispRSqr property.
      Parameters:
      value - allowed object is CTBoolean
    • getDispEq

      public CTBoolean getDispEq()
      Gets the value of the dispEq property.
      Returns:
      possible object is CTBoolean
    • setDispEq

      public void setDispEq​(CTBoolean value)
      Sets the value of the dispEq property.
      Parameters:
      value - allowed object is CTBoolean
    • getTrendlineLbl

      public CTTrendlineLbl getTrendlineLbl()
      Gets the value of the trendlineLbl property.
      Returns:
      possible object is CTTrendlineLbl
    • setTrendlineLbl

      public void setTrendlineLbl​(CTTrendlineLbl value)
      Sets the value of the trendlineLbl property.
      Parameters:
      value - allowed object is CTTrendlineLbl
    • 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 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.