Class CTControl

java.lang.Object
org.xlsx4j.sml.CTControl
All Implemented Interfaces:
Child

public class CTControl
extends java.lang.Object
implements Child

Java class for CT_Control complex type.

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

 <complexType name="CT_Control">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="controlPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ControlPr" minOccurs="0"/>
       </sequence>
       <attribute name="shapeId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id use="required""/>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected CTControlPr controlPr  
    protected java.lang.String id  
    protected java.lang.String name  
    protected long shapeId  
  • Constructor Summary

    Constructors 
    Constructor Description
    CTControl()  
  • 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.
    CTControlPr getControlPr()
    Gets the value of the controlPr property.
    java.lang.String getId()
    Gets the value of the id property.
    java.lang.String getName()
    Gets the value of the name property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    long getShapeId()
    Gets the value of the shapeId property.
    void setControlPr​(CTControlPr value)
    Sets the value of the controlPr property.
    void setId​(java.lang.String value)
    Sets the value of the id property.
    void setName​(java.lang.String value)
    Sets the value of the name property.
    void setParent​(java.lang.Object parent)  
    void setShapeId​(long value)
    Sets the value of the shapeId property.

    Methods inherited from class java.lang.Object

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

  • Constructor Details

  • Method Details

    • getControlPr

      public CTControlPr getControlPr()
      Gets the value of the controlPr property.
      Returns:
      possible object is CTControlPr
    • setControlPr

      public void setControlPr​(CTControlPr value)
      Sets the value of the controlPr property.
      Parameters:
      value - allowed object is CTControlPr
    • getShapeId

      public long getShapeId()
      Gets the value of the shapeId property.
    • setShapeId

      public void setShapeId​(long value)
      Sets the value of the shapeId property.
    • getId

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

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