public class CTColorStyle extends Object implements Child
Java class for CT_ColorStyle complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_ColorStyle">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_ColorChoice" maxOccurs="unbounded"/>
<element name="variation" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}CT_ColorStyleVariation" maxOccurs="unbounded" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
</sequence>
<attribute name="meth" use="required" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}ST_ColorStyleMethod" />
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
egColorChoice |
protected CTOfficeArtExtensionList |
extLst |
protected Long |
id |
protected String |
meth |
protected List<CTColorStyleVariation> |
variation |
| Constructor and Description |
|---|
CTColorStyle() |
| 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.
|
List<Object> |
getEGColorChoice()
Gets the value of the egColorChoice property.
|
CTOfficeArtExtensionList |
getExtLst()
Gets the value of the extLst property.
|
Long |
getId()
Gets the value of the id property.
|
String |
getMeth()
Gets the value of the meth property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
List<CTColorStyleVariation> |
getVariation()
Gets the value of the variation property.
|
void |
setExtLst(CTOfficeArtExtensionList value)
Sets the value of the extLst property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setMeth(String value)
Sets the value of the meth property.
|
void |
setParent(Object parent) |
protected List<CTColorStyleVariation> variation
protected CTOfficeArtExtensionList extLst
protected String meth
protected Long id
public List<Object> getEGColorChoice()
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 egColorChoice property.
For example, to add a new item, do as follows:
getEGColorChoice().add(newItem);
Objects of the following type(s) are allowed in the list
CTScRgbColor
CTSRgbColor
CTHslColor
CTSystemColor
CTSchemeColor
CTPresetColor
public List<CTColorStyleVariation> getVariation()
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 variation property.
For example, to add a new item, do as follows:
getVariation().add(newItem);
Objects of the following type(s) are allowed in the list
CTColorStyleVariation
public CTOfficeArtExtensionList getExtLst()
CTOfficeArtExtensionListpublic void setExtLst(CTOfficeArtExtensionList value)
value - allowed object is
CTOfficeArtExtensionListpublic String getMeth()
Stringpublic void setMeth(String value)
value - allowed object is
Stringpublic void setId(Long value)
value - allowed object is
Longpublic 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-2022. All Rights Reserved.