Class ConditionalFormattingRule
java.lang.Object
com.independentsoft.office.spreadsheet.ConditionalFormattingRule
The Class ConditionalFormattingRule.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the color scale.Gets the conditional format operator.Gets the data bar.intGets the format id.Gets the formula1.Gets the formula2.Gets the formula3.Gets the icon set.intGets the priority.intgetRank()Gets the rank.intGets the standard deviation count.getText()Gets the text.Gets the time period.getType()Gets the type.booleanChecks if is above average.booleanisBottom()Checks if is bottom.booleanChecks if is equal average.booleanChecks if is format row.booleanChecks if is stop if true.booleanChecks if is top percent.voidsetAboveAverage(boolean isAboveAverage)Sets the above average.voidsetBottom(boolean isBottom)Sets the bottom.voidsetColorScale(ColorScale colorScale)Sets the color scale.voidsetConditionalFormatOperator(ConditionalFormatOperator formatOperator)Sets the conditional format operator.voidsetDataBar(DataBar dataBar)Sets the data bar.voidsetEqualAverage(boolean isEqualAverage)Sets the equal average.voidsetFormatID(int formatID)Sets the format id.voidsetFormatRow(boolean formatRow)Sets the format row.voidsetFormula1(String formula1)Sets the formula1.voidsetFormula2(String formula2)Sets the formula2.voidsetFormula3(String formula3)Sets the formula3.voidsetIconSet(IconSet iconSet)Sets the icon set.voidsetPriority(int priority)Sets the priority.voidsetRank(int rank)Sets the rank.voidsetStandardDeviationCount(int standardDeviationCount)Sets the standard deviation count.voidsetStopIfTrue(boolean stopIfTrue)Sets the stop if true.voidSets the text.voidsetTimePeriod(TimePeriod timePeriod)Sets the time period.voidsetTopPercent(boolean isTopPercent)Sets the top percent.voidsetType(ConditionalFormatType type)Sets the type.toString()
-
Constructor Details
-
ConditionalFormattingRule
public ConditionalFormattingRule()Instantiates a new conditional formatting rule.
-
-
Method Details
-
clone
-
toString
-
getColorScale
Gets the color scale.- Returns:
- the color scale
-
setColorScale
Sets the color scale.- Parameters:
colorScale- the new color scale
-
getDataBar
Gets the data bar.- Returns:
- the data bar
-
setDataBar
Sets the data bar.- Parameters:
dataBar- the new data bar
-
getFormula1
Gets the formula1.- Returns:
- the formula1
-
setFormula1
Sets the formula1.- Parameters:
formula1- the new formula1
-
getFormula2
Gets the formula2.- Returns:
- the formula2
-
setFormula2
Sets the formula2.- Parameters:
formula2- the new formula2
-
getFormula3
Gets the formula3.- Returns:
- the formula3
-
setFormula3
Sets the formula3.- Parameters:
formula3- the new formula3
-
getIconSet
Gets the icon set.- Returns:
- the icon set
-
setIconSet
Sets the icon set.- Parameters:
iconSet- the new icon set
-
isAboveAverage
public boolean isAboveAverage()Checks if is above average.- Returns:
- true, if is above average
-
setAboveAverage
public void setAboveAverage(boolean isAboveAverage)Sets the above average.- Parameters:
isAboveAverage- the new above average
-
isBottom
public boolean isBottom()Checks if is bottom.- Returns:
- true, if is bottom
-
setBottom
public void setBottom(boolean isBottom)Sets the bottom.- Parameters:
isBottom- the new bottom
-
getFormatID
public int getFormatID()Gets the format id.- Returns:
- the format id
-
setFormatID
public void setFormatID(int formatID)Sets the format id.- Parameters:
formatID- the new format id
-
isEqualAverage
public boolean isEqualAverage()Checks if is equal average.- Returns:
- true, if is equal average
-
setEqualAverage
public void setEqualAverage(boolean isEqualAverage)Sets the equal average.- Parameters:
isEqualAverage- the new equal average
-
isFormatRow
public boolean isFormatRow()Checks if is format row.- Returns:
- true, if is format row
-
setFormatRow
public void setFormatRow(boolean formatRow)Sets the format row.- Parameters:
formatRow- the new format row
-
getConditionalFormatOperator
Gets the conditional format operator.- Returns:
- the conditional format operator
-
setConditionalFormatOperator
Sets the conditional format operator.- Parameters:
formatOperator- the new conditional format operator
-
isTopPercent
public boolean isTopPercent()Checks if is top percent.- Returns:
- true, if is top percent
-
setTopPercent
public void setTopPercent(boolean isTopPercent)Sets the top percent.- Parameters:
isTopPercent- the new top percent
-
getPriority
public int getPriority()Gets the priority.- Returns:
- the priority
-
setPriority
public void setPriority(int priority)Sets the priority.- Parameters:
priority- the new priority
-
getRank
public int getRank()Gets the rank.- Returns:
- the rank
-
setRank
public void setRank(int rank)Sets the rank.- Parameters:
rank- the new rank
-
getStandardDeviationCount
public int getStandardDeviationCount()Gets the standard deviation count.- Returns:
- the standard deviation count
-
setStandardDeviationCount
public void setStandardDeviationCount(int standardDeviationCount)Sets the standard deviation count.- Parameters:
standardDeviationCount- the new standard deviation count
-
isStopIfTrue
public boolean isStopIfTrue()Checks if is stop if true.- Returns:
- true, if is stop if true
-
setStopIfTrue
public void setStopIfTrue(boolean stopIfTrue)Sets the stop if true.- Parameters:
stopIfTrue- the new stop if true
-
getText
Gets the text.- Returns:
- the text
-
setText
Sets the text.- Parameters:
text- the new text
-
getTimePeriod
Gets the time period.- Returns:
- the time period
-
setTimePeriod
Sets the time period.- Parameters:
timePeriod- the new time period
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-