public class CTGradientFill extends Object implements 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>
Modifier and Type | Field and Description |
---|---|
protected Double |
bottom |
protected Double |
degree |
protected Double |
left |
protected Double |
right |
protected List<CTGradientStop> |
stop |
protected Double |
top |
protected STGradientType |
type |
Constructor and Description |
---|
CTGradientFill() |
Modifier and Type | Method and Description |
---|---|
void |
afterUnmarshal(Unmarshaller unmarshaller,
Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
double |
getBottom()
Gets the value of the bottom property.
|
double |
getDegree()
Gets the value of the degree property.
|
double |
getLeft()
Gets the value of the left property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
double |
getRight()
Gets the value of the right property.
|
List<CTGradientStop> |
getStop()
Gets the value of the stop property.
|
double |
getTop()
Gets the value of the top property.
|
STGradientType |
getType()
Gets the value of the type property.
|
void |
setBottom(Double value)
Sets the value of the bottom property.
|
void |
setDegree(Double value)
Sets the value of the degree property.
|
void |
setLeft(Double value)
Sets the value of the left property.
|
void |
setParent(Object parent) |
void |
setRight(Double value)
Sets the value of the right property.
|
void |
setTop(Double value)
Sets the value of the top property.
|
void |
setType(STGradientType value)
Sets the value of the type property.
|
protected List<CTGradientStop> stop
protected STGradientType type
protected Double degree
protected Double left
protected Double right
protected Double top
protected Double bottom
public List<CTGradientStop> getStop()
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 set
method 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
public STGradientType getType()
STGradientType
public void setType(STGradientType value)
value
- allowed object is
STGradientType
public double getDegree()
Double
public void setDegree(Double value)
value
- allowed object is
Double
public double getLeft()
Double
public void setLeft(Double value)
value
- allowed object is
Double
public double getRight()
Double
public void setRight(Double value)
value
- allowed object is
Double
public double getTop()
Double
public void setTop(Double value)
value
- allowed object is
Double
public double getBottom()
Double
public void setBottom(Double value)
value
- allowed object is
Double
public Object getParent()
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
parent
- The parent object in the object tree.unmarshaller
- The unmarshaller that generated the instance.Copyright © 2007-2018. All Rights Reserved.