Package org.xlsx4j.sml
Class CTGradientFill
java.lang.Object
org.xlsx4j.sml.CTGradientFill
- All Implemented Interfaces:
Child
Java class for CT_GradientFill complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_GradientFill">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="stop" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_GradientStop" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="type" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_GradientType" default="linear" />
<attribute name="degree" type="{http://www.w3.org/2001/XMLSchema}double" default="0" />
<attribute name="left" type="{http://www.w3.org/2001/XMLSchema}double" default="0" />
<attribute name="right" type="{http://www.w3.org/2001/XMLSchema}double" default="0" />
<attribute name="top" type="{http://www.w3.org/2001/XMLSchema}double" default="0" />
<attribute name="bottom" type="{http://www.w3.org/2001/XMLSchema}double" default="0" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.doubleGets the value of the bottom property.doubleGets the value of the degree property.doublegetLeft()Gets the value of the left property.Gets the parent object in the object tree representing the unmarshalled xml document.doublegetRight()Gets the value of the right property.getStop()Gets the value of the stop property.doublegetTop()Gets the value of the top property.getType()Gets the value of the type property.voidSets the value of the bottom property.voidSets the value of the degree property.voidSets the value of the left property.voidvoidSets the value of the right property.voidSets the value of the top property.voidsetType(STGradientType value) Sets the value of the type property.
-
Field Details
-
stop
-
type
-
degree
-
left
-
right
-
top
-
bottom
-
-
Constructor Details
-
CTGradientFill
public CTGradientFill()
-
-
Method Details
-
getStop
Gets the value of the stop 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
setmethod for the stop property.For example, to add a new item, do as follows:
getStop().add(newItem);Objects of the following type(s) are allowed in the list
CTGradientStop -
getType
Gets the value of the type property.- Returns:
- possible object is
STGradientType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isSTGradientType
-
getDegree
public double getDegree()Gets the value of the degree property.- Returns:
- possible object is
Double
-
setDegree
Sets the value of the degree property.- Parameters:
value- allowed object isDouble
-
getLeft
public double getLeft()Gets the value of the left property.- Returns:
- possible object is
Double
-
setLeft
Sets the value of the left property.- Parameters:
value- allowed object isDouble
-
getRight
public double getRight()Gets the value of the right property.- Returns:
- possible object is
Double
-
setRight
Sets the value of the right property.- Parameters:
value- allowed object isDouble
-
getTop
public double getTop()Gets the value of the top property.- Returns:
- possible object is
Double
-
setTop
Sets the value of the top property.- Parameters:
value- allowed object isDouble
-
getBottom
public double getBottom()Gets the value of the bottom property.- Returns:
- possible object is
Double
-
setBottom
Sets the value of the bottom property.- Parameters:
value- allowed object isDouble
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-