Package org.xlsx4j.sml
Class CTCfRule
java.lang.Object
org.xlsx4j.sml.CTCfRule
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Booleanprotected CTColorScaleprotected CTDataBarprotected Longprotected Booleanprotected CTExtensionListprotected CTIconSetprotected STConditionalFormattingOperatorprotected Booleanprotected intprotected Longprotected Integerprotected Booleanprotected Stringprotected STTimePeriodprotected STCfType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the colorScale property.Gets the value of the dataBar property.getDxfId()Gets the value of the dxfId property.Gets the value of the extLst property.Gets the value of the formula property.Gets the value of the iconSet property.Gets the value of the operator property.Gets the parent object in the object tree representing the unmarshalled xml document.intGets the value of the priority property.getRank()Gets the value of the rank property.Gets the value of the stdDev property.getText()Gets the value of the text property.Gets the value of the timePeriod property.getType()Gets the value of the type property.booleanGets the value of the aboveAverage property.booleanisBottom()Gets the value of the bottom property.booleanGets the value of the equalAverage property.booleanGets the value of the percent property.booleanGets the value of the stopIfTrue property.voidsetAboveAverage(Boolean value) Sets the value of the aboveAverage property.voidSets 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.voidSets the value of the dxfId property.voidsetEqualAverage(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.voidSets the value of the operator property.voidvoidsetPercent(Boolean value) Sets the value of the percent property.voidsetPriority(int value) Sets the value of the priority property.voidSets the value of the rank property.voidSets the value of the stdDev property.voidsetStopIfTrue(Boolean value) Sets the value of the stopIfTrue property.voidSets the value of the text property.voidsetTimePeriod(STTimePeriod value) Sets the value of the timePeriod property.voidSets the value of the type property.
-
Field Details
-
formula
-
colorScale
-
dataBar
-
iconSet
-
extLst
-
type
-
dxfId
-
priority
protected int priority -
stopIfTrue
-
aboveAverage
-
percent
-
bottom
-
operator
-
text
-
timePeriod
-
rank
-
stdDev
-
equalAverage
-
-
Constructor Details
-
CTCfRule
public CTCfRule()
-
-
Method Details
-
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
Gets the value of the dxfId property.- Returns:
- possible object is
Long
-
setDxfId
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
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
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
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
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
Gets the value of the text property.- Returns:
- possible object is
String
-
setText
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
Gets the value of the rank property.- Returns:
- possible object is
Long
-
setRank
Sets the value of the rank property.- Parameters:
value- allowed object isLong
-
getStdDev
Gets the value of the stdDev property.- Returns:
- possible object is
Integer
-
setStdDev
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
Sets the value of the equalAverage property.- Parameters:
value- allowed object isBoolean
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-