java.lang.Object
org.docx4j.com.microsoft.schemas.office.drawing.x2014.chartex.CTLegend
All Implemented Interfaces:
Child

public class CTLegend
extends java.lang.Object
implements Child

Java class for CT_Legend complex type.

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

 <complexType name="CT_Legend">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="spPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ShapeProperties" minOccurs="0"/>
         <element name="txPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TextBody" minOccurs="0"/>
         <element name="extLst" type="{http://schemas.microsoft.com/office/drawing/2014/chartex}CT_ExtensionList" minOccurs="0"/>
       </sequence>
       <attribute name="pos" type="{http://schemas.microsoft.com/office/drawing/2014/chartex}ST_SidePos" default="r" />
       <attribute name="align" type="{http://schemas.microsoft.com/office/drawing/2014/chartex}ST_PosAlign" default="ctr" />
       <attribute name="overlay" type="{http://www.w3.org/2001/XMLSchema}boolean" default="0" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

  • Method Details

    • 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
    • getTxPr

      public CTTextBody getTxPr()
      Gets the value of the txPr property.
      Returns:
      possible object is CTTextBody
    • setTxPr

      public void setTxPr​(CTTextBody value)
      Sets the value of the txPr property.
      Parameters:
      value - allowed object is CTTextBody
    • 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
    • getPos

      public STSidePos getPos()
      Gets the value of the pos property.
      Returns:
      possible object is STSidePos
    • setPos

      public void setPos​(STSidePos value)
      Sets the value of the pos property.
      Parameters:
      value - allowed object is STSidePos
    • getAlign

      public STPosAlign getAlign()
      Gets the value of the align property.
      Returns:
      possible object is STPosAlign
    • setAlign

      public void setAlign​(STPosAlign value)
      Sets the value of the align property.
      Parameters:
      value - allowed object is STPosAlign
    • isOverlay

      public boolean isOverlay()
      Gets the value of the overlay property.
      Returns:
      possible object is Boolean
    • setOverlay

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