Package org.xlsx4j.sml
Class CTCfRule
java.lang.Object
org.xlsx4j.sml.CTCfRule
- All Implemented Interfaces:
Child
public class CTCfRule extends java.lang.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>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.BooleanaboveAverageprotected java.lang.Booleanbottomprotected CTColorScalecolorScaleprotected CTDataBardataBarprotected java.lang.LongdxfIdprotected java.lang.BooleanequalAverageprotected CTExtensionListextLstprotected java.util.List<java.lang.String>formulaprotected CTIconSeticonSetprotected STConditionalFormattingOperatoroperatorprotected java.lang.Booleanpercentprotected intpriorityprotected java.lang.Longrankprotected java.lang.IntegerstdDevprotected java.lang.BooleanstopIfTrueprotected java.lang.Stringtextprotected STTimePeriodtimePeriodprotected STCfTypetype -
Constructor Summary
Constructors Constructor Description CTCfRule() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.CTColorScalegetColorScale()Gets the value of the colorScale property.CTDataBargetDataBar()Gets the value of the dataBar property.java.lang.LonggetDxfId()Gets the value of the dxfId property.CTExtensionListgetExtLst()Gets the value of the extLst property.java.util.List<java.lang.String>getFormula()Gets the value of the formula property.CTIconSetgetIconSet()Gets the value of the iconSet property.STConditionalFormattingOperatorgetOperator()Gets the value of the operator property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.intgetPriority()Gets the value of the priority property.java.lang.LonggetRank()Gets the value of the rank property.java.lang.IntegergetStdDev()Gets the value of the stdDev property.java.lang.StringgetText()Gets the value of the text property.STTimePeriodgetTimePeriod()Gets the value of the timePeriod property.STCfTypegetType()Gets the value of the type property.booleanisAboveAverage()Gets the value of the aboveAverage property.booleanisBottom()Gets the value of the bottom property.booleanisEqualAverage()Gets the value of the equalAverage property.booleanisPercent()Gets the value of the percent property.booleanisStopIfTrue()Gets the value of the stopIfTrue property.voidsetAboveAverage(java.lang.Boolean value)Sets the value of the aboveAverage property.voidsetBottom(java.lang.Boolean value)Sets the value of the bottom property.voidsetColorScale(CTColorScale value)Sets the value of the colorScale property.voidsetDataBar(CTDataBar value)Sets the value of the dataBar property.voidsetDxfId(java.lang.Long value)Sets the value of the dxfId property.voidsetEqualAverage(java.lang.Boolean value)Sets the value of the equalAverage property.voidsetExtLst(CTExtensionList value)Sets the value of the extLst property.voidsetIconSet(CTIconSet value)Sets the value of the iconSet property.voidsetOperator(STConditionalFormattingOperator value)Sets the value of the operator property.voidsetParent(java.lang.Object parent)voidsetPercent(java.lang.Boolean value)Sets the value of the percent property.voidsetPriority(int value)Sets the value of the priority property.voidsetRank(java.lang.Long value)Sets the value of the rank property.voidsetStdDev(java.lang.Integer value)Sets the value of the stdDev property.voidsetStopIfTrue(java.lang.Boolean value)Sets the value of the stopIfTrue property.voidsetText(java.lang.String value)Sets the value of the text property.voidsetTimePeriod(STTimePeriod value)Sets the value of the timePeriod property.voidsetType(STCfType value)Sets the value of the type property.
-
Field Details
-
formula
protected java.util.List<java.lang.String> formula -
colorScale
-
dataBar
-
iconSet
-
extLst
-
type
-
dxfId
protected java.lang.Long dxfId -
priority
protected int priority -
stopIfTrue
protected java.lang.Boolean stopIfTrue -
aboveAverage
protected java.lang.Boolean aboveAverage -
percent
protected java.lang.Boolean percent -
bottom
protected java.lang.Boolean bottom -
operator
-
text
protected java.lang.String text -
timePeriod
-
rank
protected java.lang.Long rank -
stdDev
protected java.lang.Integer stdDev -
equalAverage
protected java.lang.Boolean equalAverage
-
-
Constructor Details
-
CTCfRule
public CTCfRule()
-
-
Method Details
-
getFormula
public java.util.List<java.lang.String> getFormula()Gets the value of the formula property.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
setmethod 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 -
getColorScale
Gets the value of the colorScale property.- Returns:
- possible object is
CTColorScale
-
setColorScale
Sets the value of the colorScale property.- Parameters:
value- allowed object isCTColorScale
-
getDataBar
Gets the value of the dataBar property.- Returns:
- possible object is
CTDataBar
-
setDataBar
Sets the value of the dataBar property.- Parameters:
value- allowed object isCTDataBar
-
getIconSet
Gets the value of the iconSet property.- Returns:
- possible object is
CTIconSet
-
setIconSet
Sets the value of the iconSet property.- Parameters:
value- allowed object isCTIconSet
-
getExtLst
Gets the value of the extLst property.- Returns:
- possible object is
CTExtensionList
-
setExtLst
Sets the value of the extLst property.- Parameters:
value- allowed object isCTExtensionList
-
getType
Gets the value of the type property.- Returns:
- possible object is
STCfType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isSTCfType
-
getDxfId
public java.lang.Long getDxfId()Gets the value of the dxfId property.- Returns:
- possible object is
Long
-
setDxfId
public void setDxfId(java.lang.Long value)Sets the value of the dxfId property.- Parameters:
value- allowed object isLong
-
getPriority
public int getPriority()Gets the value of the priority property. -
setPriority
public void setPriority(int value)Sets the value of the priority property. -
isStopIfTrue
public boolean isStopIfTrue()Gets the value of the stopIfTrue property.- Returns:
- possible object is
Boolean
-
setStopIfTrue
public void setStopIfTrue(java.lang.Boolean value)Sets the value of the stopIfTrue property.- Parameters:
value- allowed object isBoolean
-
isAboveAverage
public boolean isAboveAverage()Gets the value of the aboveAverage property.- Returns:
- possible object is
Boolean
-
setAboveAverage
public void setAboveAverage(java.lang.Boolean value)Sets the value of the aboveAverage property.- Parameters:
value- allowed object isBoolean
-
isPercent
public boolean isPercent()Gets the value of the percent property.- Returns:
- possible object is
Boolean
-
setPercent
public void setPercent(java.lang.Boolean value)Sets the value of the percent property.- Parameters:
value- allowed object isBoolean
-
isBottom
public boolean isBottom()Gets the value of the bottom property.- Returns:
- possible object is
Boolean
-
setBottom
public void setBottom(java.lang.Boolean value)Sets the value of the bottom property.- Parameters:
value- allowed object isBoolean
-
getOperator
Gets the value of the operator property.- Returns:
- possible object is
STConditionalFormattingOperator
-
setOperator
Sets the value of the operator property.- Parameters:
value- allowed object isSTConditionalFormattingOperator
-
getText
public java.lang.String getText()Gets the value of the text property.- Returns:
- possible object is
String
-
setText
public void setText(java.lang.String value)Sets the value of the text property.- Parameters:
value- allowed object isString
-
getTimePeriod
Gets the value of the timePeriod property.- Returns:
- possible object is
STTimePeriod
-
setTimePeriod
Sets the value of the timePeriod property.- Parameters:
value- allowed object isSTTimePeriod
-
getRank
public java.lang.Long getRank()Gets the value of the rank property.- Returns:
- possible object is
Long
-
setRank
public void setRank(java.lang.Long value)Sets the value of the rank property.- Parameters:
value- allowed object isLong
-
getStdDev
public java.lang.Integer getStdDev()Gets the value of the stdDev property.- Returns:
- possible object is
Integer
-
setStdDev
public void setStdDev(java.lang.Integer value)Sets the value of the stdDev property.- Parameters:
value- allowed object isInteger
-
isEqualAverage
public boolean isEqualAverage()Gets the value of the equalAverage property.- Returns:
- possible object is
Boolean
-
setEqualAverage
public void setEqualAverage(java.lang.Boolean value)Sets the value of the equalAverage property.- Parameters:
value- allowed object isBoolean
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)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.
-