Class Row

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

public class Row extends Object implements Child

Java class for CT_Row complex type.

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

 <complexType name="CT_Row">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="c" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Cell" maxOccurs="unbounded" minOccurs="0"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
       </sequence>
       <attribute name="r" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="spans" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellSpans" />
       <attribute name="s" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
       <attribute name="customFormat" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="ht" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="customHeight" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="outlineLevel" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" default="0" />
       <attribute name="collapsed" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="thickTop" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="thickBot" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="ph" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Row

      public Row()
  • Method Details

    • getC

      public List<Cell> getC()
      Gets the value of the c 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 c property.

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

          getC().add(newItem);
       

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

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

      public Long getR()
      Gets the value of the r property.
      Returns:
      possible object is Long
    • setR

      public void setR(Long value)
      Sets the value of the r property.
      Parameters:
      value - allowed object is Long
    • getSpans

      public List<String> getSpans()
      Gets the value of the spans 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 spans property.

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

          getSpans().add(newItem);
       

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

    • getS

      public long getS()
      Gets the value of the s property.
      Returns:
      possible object is Long
    • setS

      public void setS(Long value)
      Sets the value of the s property.
      Parameters:
      value - allowed object is Long
    • isCustomFormat

      public boolean isCustomFormat()
      Gets the value of the customFormat property.
      Returns:
      possible object is Boolean
    • setCustomFormat

      public void setCustomFormat(Boolean value)
      Sets the value of the customFormat property.
      Parameters:
      value - allowed object is Boolean
    • getHt

      public Double getHt()
      Gets the value of the ht property.
      Returns:
      possible object is Double
    • setHt

      public void setHt(Double value)
      Sets the value of the ht property.
      Parameters:
      value - allowed object is Double
    • isHidden

      public boolean isHidden()
      Gets the value of the hidden property.
      Returns:
      possible object is Boolean
    • setHidden

      public void setHidden(Boolean value)
      Sets the value of the hidden property.
      Parameters:
      value - allowed object is Boolean
    • isCustomHeight

      public boolean isCustomHeight()
      Gets the value of the customHeight property.
      Returns:
      possible object is Boolean
    • setCustomHeight

      public void setCustomHeight(Boolean value)
      Sets the value of the customHeight property.
      Parameters:
      value - allowed object is Boolean
    • getOutlineLevel

      public short getOutlineLevel()
      Gets the value of the outlineLevel property.
      Returns:
      possible object is Short
    • setOutlineLevel

      public void setOutlineLevel(Short value)
      Sets the value of the outlineLevel property.
      Parameters:
      value - allowed object is Short
    • isCollapsed

      public boolean isCollapsed()
      Gets the value of the collapsed property.
      Returns:
      possible object is Boolean
    • setCollapsed

      public void setCollapsed(Boolean value)
      Sets the value of the collapsed property.
      Parameters:
      value - allowed object is Boolean
    • isThickTop

      public boolean isThickTop()
      Gets the value of the thickTop property.
      Returns:
      possible object is Boolean
    • setThickTop

      public void setThickTop(Boolean value)
      Sets the value of the thickTop property.
      Parameters:
      value - allowed object is Boolean
    • isThickBot

      public boolean isThickBot()
      Gets the value of the thickBot property.
      Returns:
      possible object is Boolean
    • setThickBot

      public void setThickBot(Boolean value)
      Sets the value of the thickBot property.
      Parameters:
      value - allowed object is Boolean
    • isPh

      public boolean isPh()
      Gets the value of the ph property.
      Returns:
      possible object is Boolean
    • setPh

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