[]
Serializable, Comparable<FormatConditionOperator>, ConstableBetween and NotBetween, to compare two formulas. Use this enum with cell-value conditional formatting rules to define how the condition is evaluated. Between and NotBetween require two formula arguments, while the other operators use a single comparison value.
worksheet.getRange("A1:A5").setValue(new Object[][] {
{80}, {95}, {110}, {140}, {180}
});
IFormatCondition condition = (IFormatCondition) worksheet.getRange("A1:A5")
.getFormatConditions()
.add(FormatConditionType.CellValue, FormatConditionOperator.Between, 100, 150);
condition.setNumberFormat("0");
Enum.EnumDesc<E extends Enum<E>>static FormatConditionOperatorstatic FormatConditionOperator[]values()name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is null