public class CTStyleReference extends Object implements Child
Java class for CT_StyleReference complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_StyleReference">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_ColorChoice" minOccurs="0"/>
<element name="styleClr" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}CT_StyleColor" minOccurs="0"/>
</sequence>
<attribute name="idx" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_StyleMatrixColumnIndex" />
<attribute name="mods" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}ST_StyleReferenceModifierList" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CTHslColor |
hslClr |
protected long |
idx |
protected List<String> |
mods |
protected CTPresetColor |
prstClr |
protected CTSchemeColor |
schemeClr |
protected CTScRgbColor |
scrgbClr |
protected CTSRgbColor |
srgbClr |
protected CTStyleColor |
styleClr |
protected CTSystemColor |
sysClr |
| Constructor and Description |
|---|
CTStyleReference() |
| 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.
|
CTHslColor |
getHslClr()
Gets the value of the hslClr property.
|
long |
getIdx()
Gets the value of the idx property.
|
List<String> |
getMods()
Gets the value of the mods property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
CTPresetColor |
getPrstClr()
Gets the value of the prstClr property.
|
CTSchemeColor |
getSchemeClr()
Gets the value of the schemeClr property.
|
CTScRgbColor |
getScrgbClr()
Gets the value of the scrgbClr property.
|
CTSRgbColor |
getSrgbClr()
Gets the value of the srgbClr property.
|
CTStyleColor |
getStyleClr()
Gets the value of the styleClr property.
|
CTSystemColor |
getSysClr()
Gets the value of the sysClr property.
|
void |
setHslClr(CTHslColor value)
Sets the value of the hslClr property.
|
void |
setIdx(long value)
Sets the value of the idx property.
|
void |
setParent(Object parent) |
void |
setPrstClr(CTPresetColor value)
Sets the value of the prstClr property.
|
void |
setSchemeClr(CTSchemeColor value)
Sets the value of the schemeClr property.
|
void |
setScrgbClr(CTScRgbColor value)
Sets the value of the scrgbClr property.
|
void |
setSrgbClr(CTSRgbColor value)
Sets the value of the srgbClr property.
|
void |
setStyleClr(CTStyleColor value)
Sets the value of the styleClr property.
|
void |
setSysClr(CTSystemColor value)
Sets the value of the sysClr property.
|
protected CTScRgbColor scrgbClr
protected CTSRgbColor srgbClr
protected CTHslColor hslClr
protected CTSystemColor sysClr
protected CTSchemeColor schemeClr
protected CTPresetColor prstClr
protected CTStyleColor styleClr
protected long idx
public CTScRgbColor getScrgbClr()
CTScRgbColorpublic void setScrgbClr(CTScRgbColor value)
value - allowed object is
CTScRgbColorpublic CTSRgbColor getSrgbClr()
CTSRgbColorpublic void setSrgbClr(CTSRgbColor value)
value - allowed object is
CTSRgbColorpublic CTHslColor getHslClr()
CTHslColorpublic void setHslClr(CTHslColor value)
value - allowed object is
CTHslColorpublic CTSystemColor getSysClr()
CTSystemColorpublic void setSysClr(CTSystemColor value)
value - allowed object is
CTSystemColorpublic CTSchemeColor getSchemeClr()
CTSchemeColorpublic void setSchemeClr(CTSchemeColor value)
value - allowed object is
CTSchemeColorpublic CTPresetColor getPrstClr()
CTPresetColorpublic void setPrstClr(CTPresetColor value)
value - allowed object is
CTPresetColorpublic CTStyleColor getStyleClr()
CTStyleColorpublic void setStyleClr(CTStyleColor value)
value - allowed object is
CTStyleColorpublic long getIdx()
public void setIdx(long value)
public List<String> getMods()
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 mods property.
For example, to add a new item, do as follows:
getMods().add(newItem);
Objects of the following type(s) are allowed in the list
String
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-2021. All Rights Reserved.