FormatCondition

FormatCondition

Overview

FormatCondition is a class in Aspose.Cells FOSS for Java.

Represents a conditional formatting rule.

Properties

NameTypeAccessDescription
typeFormatConditionTypeReadReturns the type.
operatorOperatorTypeReadReturns the operator.
formula1StringReadReturns the formula 1.
formula2StringReadReturns the formula 2.
formulaStringReadReturns the formula.
timePeriodStringReadReturns the time period.
duplicatebooleanReadReturns the duplicate.
topbooleanReadReturns the top.
percentbooleanReadReturns the percent.
rankintReadReturns the rank.
abovebooleanReadReturns the above.
standardDeviationintReadReturns the standard deviation.
colorScaleCountintReadReturns the color scale count.
minColorColorReadReturns the min color.
midColorColorReadReturns the mid color.
maxColorColorReadReturns the max color.
barColorColorReadReturns the bar color.
negativeBarColorColorReadReturns the negative bar color.
showBorderbooleanReadReturns the show border.
directionStringReadReturns the direction.
barLengthStringReadReturns the bar length.
iconSetTypeStringReadReturns the icon set type.
reverseIconsbooleanReadReturns the reverse icons.
showIconOnlybooleanReadReturns the show icon only.
priorityintReadReturns the priority.
stopIfTruebooleanReadReturns the stop if true.
styleStyleReadReturns the style.

Methods

SignatureDescription
getType()FormatConditionTypeReturns the type.
setType(type: FormatConditionType)Sets the type.
getOperator()OperatorTypeReturns the operator.
setOperator(operator: OperatorType)Sets the operator.
getFormula1()StringReturns the formula 1.
setFormula1(value: String)Sets the formula 1.
getFormula2()StringReturns the formula 2.
setFormula2(value: String)Sets the formula 2.
getFormula()StringReturns the formula.
setFormula(value: String)Sets the formula.
getTimePeriod()StringReturns the time period.
setTimePeriod(value: String)Sets the time period.
getDuplicate()booleanReturns the duplicate.
setDuplicate(duplicate: boolean)Sets the duplicate.
getTop()booleanReturns the top.
setTop(top: boolean)Sets the top.
getPercent()booleanReturns the percent.
setPercent(percent: boolean)Sets the percent.
getRank()intReturns the rank.
setRank(rank: int)Sets the rank.
getAbove()booleanReturns the above.
setAbove(above: boolean)Sets the above.
getStandardDeviation()intReturns the standard deviation.
setStandardDeviation(standardDeviation: int)Sets the standard deviation.
getColorScaleCount()intReturns the color scale count.
setColorScaleCount(colorScaleCount: int)Sets the color scale count.
getMinColor()ColorReturns the min color.
setMinColor(value: Color)Sets the min color.
getMidColor()ColorReturns the mid color.
setMidColor(value: Color)Sets the mid color.
getMaxColor()ColorReturns the max color.
setMaxColor(value: Color)Sets the max color.
getBarColor()ColorReturns the bar color.
setBarColor(value: Color)Sets the bar color.
getNegativeBarColor()ColorReturns the negative bar color.
setNegativeBarColor(value: Color)Sets the negative bar color.
getShowBorder()booleanReturns the show border.
setShowBorder(showBorder: boolean)Sets the show border.
getDirection()StringReturns the direction.
setDirection(value: String)Sets the direction.
getBarLength()StringReturns the bar length.
setBarLength(value: String)Sets the bar length.
getIconSetType()StringReturns the icon set type.
setIconSetType(value: String)Sets the icon set type.
getReverseIcons()booleanReturns the reverse icons.
setReverseIcons(reverseIcons: boolean)Sets the reverse icons.
getShowIconOnly()booleanReturns the show icon only.
setShowIconOnly(showIconOnly: boolean)Sets the show icon only.
getPriority()intReturns the priority.
setPriority(priority: int)Sets the priority.
getStopIfTrue()booleanReturns the stop if true.
setStopIfTrue(stopIfTrue: boolean)Sets the stop if true.
getStyle()StyleReturns the style.
setStyle(value: Style)Sets the style.
remove()Removes the requested content.