Class CTTextbox

java.lang.Object
org.docx4j.vml.CTTextbox
All Implemented Interfaces:
Child

public class CTTextbox
extends java.lang.Object
implements Child

Java class for CT_Textbox complex type.

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

 <complexType name="CT_Textbox">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}txbxContent" minOccurs="0"/>
         <any processContents='skip' namespace=''/>
       </choice>
       <attGroup ref="{urn:schemas-microsoft-com:vml}AG_Style"/>
       <attGroup ref="{urn:schemas-microsoft-com:vml}AG_Id"/>
       <attribute name="inset" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute ref="{urn:schemas-microsoft-com:office:office}singleclick"/>
       <attribute ref="{urn:schemas-microsoft-com:office:office}insetmode"/>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected org.w3c.dom.Element any  
    protected java.lang.String inset  
    protected STInsetMode insetmode  
    protected STTrueFalse singleclick  
    protected java.lang.String style  
    protected CTTxbxContent txbxContent  
    protected java.lang.String vmlId  
  • Constructor Summary

    Constructors
    Constructor Description
    CTTextbox()  
  • 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.
    org.w3c.dom.Element getAny()
    Gets the value of the any property.
    java.lang.String getInset()
    Gets the value of the inset property.
    STInsetMode getInsetmode()
    Text Inset Mode
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    STTrueFalse getSingleclick()
    Text Box Single-Click Selection Toggle
    java.lang.String getStyle()
    Gets the value of the style property.
    CTTxbxContent getTxbxContent()
    Gets the value of the txbxContent property.
    java.lang.String getVmlId()
    Gets the value of the vmlId property.
    void setAny​(org.w3c.dom.Element value)
    Sets the value of the any property.
    void setInset​(java.lang.String value)
    Sets the value of the inset property.
    void setInsetmode​(STInsetMode value)
    Sets the value of the insetmode property.
    void setParent​(java.lang.Object parent)  
    void setSingleclick​(STTrueFalse value)
    Sets the value of the singleclick property.
    void setStyle​(java.lang.String value)
    Sets the value of the style property.
    void setTxbxContent​(CTTxbxContent value)
    Sets the value of the txbxContent property.
    void setVmlId​(java.lang.String value)
    Sets the value of the vmlId property.

    Methods inherited from class java.lang.Object

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

    • txbxContent

      protected CTTxbxContent txbxContent
    • any

      protected org.w3c.dom.Element any
    • inset

      protected java.lang.String inset
    • singleclick

      protected STTrueFalse singleclick
    • insetmode

      protected STInsetMode insetmode
    • style

      protected java.lang.String style
    • vmlId

      protected java.lang.String vmlId
  • Constructor Details

    • CTTextbox

      public CTTextbox()
  • Method Details

    • getTxbxContent

      public CTTxbxContent getTxbxContent()
      Gets the value of the txbxContent property.
      Returns:
      possible object is CTTxbxContent
    • setTxbxContent

      public void setTxbxContent​(CTTxbxContent value)
      Sets the value of the txbxContent property.
      Parameters:
      value - allowed object is CTTxbxContent
    • getAny

      public org.w3c.dom.Element getAny()
      Gets the value of the any property.
      Returns:
      possible object is Element
    • setAny

      public void setAny​(org.w3c.dom.Element value)
      Sets the value of the any property.
      Parameters:
      value - allowed object is Element
    • getInset

      public java.lang.String getInset()
      Gets the value of the inset property.
      Returns:
      possible object is String
    • setInset

      public void setInset​(java.lang.String value)
      Sets the value of the inset property.
      Parameters:
      value - allowed object is String
    • getSingleclick

      public STTrueFalse getSingleclick()
      Text Box Single-Click Selection Toggle
      Returns:
      possible object is STTrueFalse
    • setSingleclick

      public void setSingleclick​(STTrueFalse value)
      Sets the value of the singleclick property.
      Parameters:
      value - allowed object is STTrueFalse
    • getInsetmode

      public STInsetMode getInsetmode()
      Text Inset Mode
      Returns:
      possible object is STInsetMode
    • setInsetmode

      public void setInsetmode​(STInsetMode value)
      Sets the value of the insetmode property.
      Parameters:
      value - allowed object is STInsetMode
    • getStyle

      public java.lang.String getStyle()
      Gets the value of the style property.
      Returns:
      possible object is String
    • setStyle

      public void setStyle​(java.lang.String value)
      Sets the value of the style property.
      Parameters:
      value - allowed object is String
    • getVmlId

      public java.lang.String getVmlId()
      Gets the value of the vmlId property.
      Returns:
      possible object is String
    • setVmlId

      public void setVmlId​(java.lang.String value)
      Sets the value of the vmlId 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​(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.