Package org.xlsx4j.sml
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 Summary
Fields Modifier and Type Field Description protected CTBorderPrbottomprotected CTBorderPrdiagonalprotected java.lang.BooleandiagonalDownprotected java.lang.BooleandiagonalUpprotected CTBorderPrendprotected CTBorderPrhorizontalprotected CTBorderPrleftprotected java.lang.Booleanoutlineprotected CTBorderPrrightprotected CTBorderPrstartprotected CTBorderPrtopprotected CTBorderPrvertical -
Constructor Summary
Constructors Constructor Description CTBorder() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.CTBorderPrgetBottom()Gets the value of the bottom property.CTBorderPrgetDiagonal()Gets the value of the diagonal property.CTBorderPrgetEnd()Gets the value of the end property.CTBorderPrgetHorizontal()Gets the value of the horizontal property.CTBorderPrgetLeft()Gets the value of the left property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTBorderPrgetRight()Gets the value of the right property.CTBorderPrgetStart()Gets the value of the start property.CTBorderPrgetTop()Gets the value of the top property.CTBorderPrgetVertical()Gets the value of the vertical property.java.lang.BooleanisDiagonalDown()Gets the value of the diagonalDown property.java.lang.BooleanisDiagonalUp()Gets the value of the diagonalUp property.booleanisOutline()Gets the value of the outline property.voidsetBottom(CTBorderPr value)Sets the value of the bottom property.voidsetDiagonal(CTBorderPr value)Sets the value of the diagonal property.voidsetDiagonalDown(java.lang.Boolean value)Sets the value of the diagonalDown property.voidsetDiagonalUp(java.lang.Boolean value)Sets the value of the diagonalUp property.voidsetEnd(CTBorderPr value)Sets the value of the end property.voidsetHorizontal(CTBorderPr value)Sets the value of the horizontal property.voidsetLeft(CTBorderPr value)Sets the value of the left property.voidsetOutline(java.lang.Boolean value)Sets the value of the outline property.voidsetParent(java.lang.Object parent)voidsetRight(CTBorderPr value)Sets the value of the right property.voidsetStart(CTBorderPr value)Sets the value of the start property.voidsetTop(CTBorderPr value)Sets the value of the top property.voidsetVertical(CTBorderPr value)Sets the value of the vertical property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
start
-
end
-
left
-
right
-
top
-
bottom
-
diagonal
-
vertical
-
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
Gets the value of the start property.- Returns:
- possible object is
CTBorderPr
-
setStart
Sets the value of the start property.- Parameters:
value- allowed object isCTBorderPr
-
getEnd
Gets the value of the end property.- Returns:
- possible object is
CTBorderPr
-
setEnd
Sets the value of the end property.- Parameters:
value- allowed object isCTBorderPr
-
getLeft
Gets the value of the left property.- Returns:
- possible object is
CTBorderPr
-
setLeft
Sets the value of the left property.- Parameters:
value- allowed object isCTBorderPr
-
getRight
Gets the value of the right property.- Returns:
- possible object is
CTBorderPr
-
setRight
Sets the value of the right property.- Parameters:
value- allowed object isCTBorderPr
-
getTop
Gets the value of the top property.- Returns:
- possible object is
CTBorderPr
-
setTop
Sets the value of the top property.- Parameters:
value- allowed object isCTBorderPr
-
getBottom
Gets the value of the bottom property.- Returns:
- possible object is
CTBorderPr
-
setBottom
Sets the value of the bottom property.- Parameters:
value- allowed object isCTBorderPr
-
getDiagonal
Gets the value of the diagonal property.- Returns:
- possible object is
CTBorderPr
-
setDiagonal
Sets the value of the diagonal property.- Parameters:
value- allowed object isCTBorderPr
-
getVertical
Gets the value of the vertical property.- Returns:
- possible object is
CTBorderPr
-
setVertical
Sets the value of the vertical property.- Parameters:
value- allowed object isCTBorderPr
-
getHorizontal
Gets the value of the horizontal property.- Returns:
- possible object is
CTBorderPr
-
setHorizontal
Sets the value of the horizontal property.- Parameters:
value- allowed object isCTBorderPr
-
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 isBoolean
-
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 isBoolean
-
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 isBoolean
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
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.
-