Class CTBorderPr

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

public class CTBorderPr extends Object implements Child

Java class for CT_BorderPr complex type.

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

 <complexType name="CT_BorderPr">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="color" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Color" minOccurs="0"/>
       </sequence>
       <attribute name="style" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_BorderStyle" default="none" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTBorderPr

      public CTBorderPr()
  • Method Details

    • getColor

      public CTColor getColor()
      Gets the value of the color property.
      Returns:
      possible object is CTColor
    • setColor

      public void setColor(CTColor value)
      Sets the value of the color property.
      Parameters:
      value - allowed object is CTColor
    • getStyle

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

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