Class CTBorder

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

public class CTBorder
extends java.lang.Object
implements Child

Java class for CT_Border complex type.

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

 <complexType name="CT_Border">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="start" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
         <element name="end" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
         <element name="left" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
         <element name="right" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
         <element name="top" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
         <element name="bottom" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
         <element name="diagonal" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
         <element name="vertical" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
         <element name="horizontal" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BorderPr" minOccurs="0"/>
       </sequence>
       <attribute name="diagonalUp" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="diagonalDown" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="outline" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • start

      protected CTBorderPr start
    • end

      protected CTBorderPr end
    • left

      protected CTBorderPr left
    • top

      protected CTBorderPr top
    • bottom

      protected CTBorderPr bottom
    • diagonal

      protected CTBorderPr diagonal
    • vertical

      protected CTBorderPr vertical
    • horizontal

      protected CTBorderPr horizontal
    • diagonalUp

      protected java.lang.Boolean diagonalUp
    • diagonalDown

      protected java.lang.Boolean diagonalDown
    • outline

      protected java.lang.Boolean outline
  • Constructor Details

    • CTBorder

      public CTBorder()
  • Method Details

    • getStart

      public CTBorderPr getStart()
      Gets the value of the start property.
      Returns:
      possible object is CTBorderPr
    • setStart

      public void setStart​(CTBorderPr value)
      Sets the value of the start property.
      Parameters:
      value - allowed object is CTBorderPr
    • getEnd

      public CTBorderPr getEnd()
      Gets the value of the end property.
      Returns:
      possible object is CTBorderPr
    • setEnd

      public void setEnd​(CTBorderPr value)
      Sets the value of the end property.
      Parameters:
      value - allowed object is CTBorderPr
    • getLeft

      public CTBorderPr getLeft()
      Gets the value of the left property.
      Returns:
      possible object is CTBorderPr
    • setLeft

      public void setLeft​(CTBorderPr value)
      Sets the value of the left property.
      Parameters:
      value - allowed object is CTBorderPr
    • getRight

      public CTBorderPr getRight()
      Gets the value of the right property.
      Returns:
      possible object is CTBorderPr
    • setRight

      public void setRight​(CTBorderPr value)
      Sets the value of the right property.
      Parameters:
      value - allowed object is CTBorderPr
    • getTop

      public CTBorderPr getTop()
      Gets the value of the top property.
      Returns:
      possible object is CTBorderPr
    • setTop

      public void setTop​(CTBorderPr value)
      Sets the value of the top property.
      Parameters:
      value - allowed object is CTBorderPr
    • getBottom

      public CTBorderPr getBottom()
      Gets the value of the bottom property.
      Returns:
      possible object is CTBorderPr
    • setBottom

      public void setBottom​(CTBorderPr value)
      Sets the value of the bottom property.
      Parameters:
      value - allowed object is CTBorderPr
    • getDiagonal

      public CTBorderPr getDiagonal()
      Gets the value of the diagonal property.
      Returns:
      possible object is CTBorderPr
    • setDiagonal

      public void setDiagonal​(CTBorderPr value)
      Sets the value of the diagonal property.
      Parameters:
      value - allowed object is CTBorderPr
    • getVertical

      public CTBorderPr getVertical()
      Gets the value of the vertical property.
      Returns:
      possible object is CTBorderPr
    • setVertical

      public void setVertical​(CTBorderPr value)
      Sets the value of the vertical property.
      Parameters:
      value - allowed object is CTBorderPr
    • getHorizontal

      public CTBorderPr getHorizontal()
      Gets the value of the horizontal property.
      Returns:
      possible object is CTBorderPr
    • setHorizontal

      public void setHorizontal​(CTBorderPr value)
      Sets the value of the horizontal property.
      Parameters:
      value - allowed object is CTBorderPr
    • isDiagonalUp

      public java.lang.Boolean isDiagonalUp()
      Gets the value of the diagonalUp property.
      Returns:
      possible object is Boolean
    • setDiagonalUp

      public void setDiagonalUp​(java.lang.Boolean value)
      Sets the value of the diagonalUp property.
      Parameters:
      value - allowed object is Boolean
    • isDiagonalDown

      public java.lang.Boolean isDiagonalDown()
      Gets the value of the diagonalDown property.
      Returns:
      possible object is Boolean
    • setDiagonalDown

      public void setDiagonalDown​(java.lang.Boolean value)
      Sets the value of the diagonalDown property.
      Parameters:
      value - allowed object is Boolean
    • isOutline

      public boolean isOutline()
      Gets the value of the outline property.
      Returns:
      possible object is Boolean
    • setOutline

      public void setOutline​(java.lang.Boolean value)
      Sets the value of the outline 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​(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.