[]
Serializable, Comparable<AboveBelow>, Constable此枚举与 IAboveAverage.setAboveBelow(AboveBelow) 一起使用,用于控制规则是匹配高于平均值、低于平均值、大于或等于平均值、小于或等于平均值,还是高于或低于标准差的值。
worksheet.getRange("A1:A5").setValue(new Object[][] {
{10}, {20}, {30}, {40}, {100}
});
IAboveAverage averageCondition = worksheet.getRange("A1:A5").getFormatConditions().addAboveAverage();
averageCondition.setAboveBelow(AboveBelow.AboveAverage);
averageCondition.getInterior().setColor(Color.GetYellow());
Enum.EnumDesc<E extends Enum<E>>static AboveBelowstatic AboveBelow[]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