public class CTCfRule extends Object implements Child
Java class for CT_CfRule complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_CfRule">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="formula" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Formula" maxOccurs="3" minOccurs="0"/>
<element name="colorScale" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ColorScale" minOccurs="0"/>
<element name="dataBar" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_DataBar" minOccurs="0"/>
<element name="iconSet" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_IconSet" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
</sequence>
<attribute name="type" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CfType" />
<attribute name="dxfId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DxfId" />
<attribute name="priority" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="stopIfTrue" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="aboveAverage" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="percent" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="bottom" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="operator" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_ConditionalFormattingOperator" />
<attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="timePeriod" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_TimePeriod" />
<attribute name="rank" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="stdDev" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="equalAverage" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
aboveAverage |
protected Boolean |
bottom |
protected CTColorScale |
colorScale |
protected CTDataBar |
dataBar |
protected Long |
dxfId |
protected Boolean |
equalAverage |
protected CTExtensionList |
extLst |
protected List<String> |
formula |
protected CTIconSet |
iconSet |
protected STConditionalFormattingOperator |
operator |
protected Boolean |
percent |
protected int |
priority |
protected Long |
rank |
protected Integer |
stdDev |
protected Boolean |
stopIfTrue |
protected String |
text |
protected STTimePeriod |
timePeriod |
protected STCfType |
type |
| Constructor and Description |
|---|
CTCfRule() |
| 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.
|
CTColorScale |
getColorScale()
Gets the value of the colorScale property.
|
CTDataBar |
getDataBar()
Gets the value of the dataBar property.
|
Long |
getDxfId()
Gets the value of the dxfId property.
|
CTExtensionList |
getExtLst()
Gets the value of the extLst property.
|
List<String> |
getFormula()
Gets the value of the formula property.
|
CTIconSet |
getIconSet()
Gets the value of the iconSet property.
|
STConditionalFormattingOperator |
getOperator()
Gets the value of the operator property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
int |
getPriority()
Gets the value of the priority property.
|
Long |
getRank()
Gets the value of the rank property.
|
Integer |
getStdDev()
Gets the value of the stdDev property.
|
String |
getText()
Gets the value of the text property.
|
STTimePeriod |
getTimePeriod()
Gets the value of the timePeriod property.
|
STCfType |
getType()
Gets the value of the type property.
|
boolean |
isAboveAverage()
Gets the value of the aboveAverage property.
|
boolean |
isBottom()
Gets the value of the bottom property.
|
boolean |
isEqualAverage()
Gets the value of the equalAverage property.
|
boolean |
isPercent()
Gets the value of the percent property.
|
boolean |
isStopIfTrue()
Gets the value of the stopIfTrue property.
|
void |
setAboveAverage(Boolean value)
Sets the value of the aboveAverage property.
|
void |
setBottom(Boolean value)
Sets the value of the bottom property.
|
void |
setColorScale(CTColorScale value)
Sets the value of the colorScale property.
|
void |
setDataBar(CTDataBar value)
Sets the value of the dataBar property.
|
void |
setDxfId(Long value)
Sets the value of the dxfId property.
|
void |
setEqualAverage(Boolean value)
Sets the value of the equalAverage property.
|
void |
setExtLst(CTExtensionList value)
Sets the value of the extLst property.
|
void |
setIconSet(CTIconSet value)
Sets the value of the iconSet property.
|
void |
setOperator(STConditionalFormattingOperator value)
Sets the value of the operator property.
|
void |
setParent(Object parent) |
void |
setPercent(Boolean value)
Sets the value of the percent property.
|
void |
setPriority(int value)
Sets the value of the priority property.
|
void |
setRank(Long value)
Sets the value of the rank property.
|
void |
setStdDev(Integer value)
Sets the value of the stdDev property.
|
void |
setStopIfTrue(Boolean value)
Sets the value of the stopIfTrue property.
|
void |
setText(String value)
Sets the value of the text property.
|
void |
setTimePeriod(STTimePeriod value)
Sets the value of the timePeriod property.
|
void |
setType(STCfType value)
Sets the value of the type property.
|
protected CTColorScale colorScale
protected CTDataBar dataBar
protected CTIconSet iconSet
protected CTExtensionList extLst
protected STCfType type
protected Long dxfId
protected int priority
protected Boolean stopIfTrue
protected Boolean aboveAverage
protected Boolean percent
protected Boolean bottom
protected STConditionalFormattingOperator operator
protected String text
protected STTimePeriod timePeriod
protected Long rank
protected Integer stdDev
protected Boolean equalAverage
public List<String> getFormula()
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 formula property.
For example, to add a new item, do as follows:
getFormula().add(newItem);
Objects of the following type(s) are allowed in the list
String
public CTColorScale getColorScale()
CTColorScalepublic void setColorScale(CTColorScale value)
value - allowed object is
CTColorScalepublic CTDataBar getDataBar()
CTDataBarpublic void setDataBar(CTDataBar value)
value - allowed object is
CTDataBarpublic CTIconSet getIconSet()
CTIconSetpublic void setIconSet(CTIconSet value)
value - allowed object is
CTIconSetpublic CTExtensionList getExtLst()
CTExtensionListpublic void setExtLst(CTExtensionList value)
value - allowed object is
CTExtensionListpublic STCfType getType()
STCfTypepublic void setType(STCfType value)
value - allowed object is
STCfTypepublic Long getDxfId()
Longpublic void setDxfId(Long value)
value - allowed object is
Longpublic int getPriority()
public void setPriority(int value)
public boolean isStopIfTrue()
Booleanpublic void setStopIfTrue(Boolean value)
value - allowed object is
Booleanpublic boolean isAboveAverage()
Booleanpublic void setAboveAverage(Boolean value)
value - allowed object is
Booleanpublic boolean isPercent()
Booleanpublic void setPercent(Boolean value)
value - allowed object is
Booleanpublic boolean isBottom()
Booleanpublic void setBottom(Boolean value)
value - allowed object is
Booleanpublic STConditionalFormattingOperator getOperator()
STConditionalFormattingOperatorpublic void setOperator(STConditionalFormattingOperator value)
value - allowed object is
STConditionalFormattingOperatorpublic String getText()
Stringpublic void setText(String value)
value - allowed object is
Stringpublic STTimePeriod getTimePeriod()
STTimePeriodpublic void setTimePeriod(STTimePeriod value)
value - allowed object is
STTimePeriodpublic void setRank(Long value)
value - allowed object is
Longpublic Integer getStdDev()
Integerpublic void setStdDev(Integer value)
value - allowed object is
Integerpublic boolean isEqualAverage()
Booleanpublic void setEqualAverage(Boolean value)
value - allowed object is
Booleanpublic 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.