Package org.xlsx4j.sml
Class CTGradientStop
java.lang.Object
org.xlsx4j.sml.CTGradientStop
- All Implemented Interfaces:
Child
Java class for CT_GradientStop complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_GradientStop">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="color" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Color"/>
</sequence>
<attribute name="position" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
</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.getColor()Gets the value of the color property.Gets the parent object in the object tree representing the unmarshalled xml document.doubleGets the value of the position property.voidSets the value of the color property.voidvoidsetPosition(double value) Sets the value of the position property.
-
Field Details
-
color
-
position
protected double position
-
-
Constructor Details
-
CTGradientStop
public CTGradientStop()
-
-
Method Details
-
getColor
Gets the value of the color property.- Returns:
- possible object is
CTColor
-
setColor
Sets the value of the color property.- Parameters:
value- allowed object isCTColor
-
getPosition
public double getPosition()Gets the value of the position property. -
setPosition
public void setPosition(double value) Sets the value of the position property. -
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.
-