[]
Serializable, Comparable<ColorScaleType>, Constable将此枚举与 IFormatConditions.addColorScale(ColorScaleType) 一起使用,可以选择条件格式颜色刻度使用两种颜色还是三种颜色。
IRange range = worksheet.getRange("A1:A5");
range.setValue(new Object[][] {{10}, {20}, {30}, {40}, {50}});
range.getFormatConditions().addColorScale(ColorScaleType.ThreeColorScale);
Enum.EnumDesc<E extends Enum<E>>static ColorScaleTypestatic ColorScaleType[]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