[]
Serializable, Comparable<DataBarNegativeColorType>, Constable此枚举由 INegativeBarFormat 使用,用于控制数据条条件格式规则中负值的填充颜色和边框颜色行为。
IDataBar dataBar = worksheet.getRange("A1:A4").getFormatConditions().addDatabar();
INegativeBarFormat negativeBarFormat = dataBar.getNegativeBarFormat();
negativeBarFormat.setColorType(DataBarNegativeColorType.SameAsPositive);
negativeBarFormat.setBorderColorType(DataBarNegativeColorType.Color);
Enum.EnumDesc<E extends Enum<E>>static DataBarNegativeColorTypestatic DataBarNegativeColorType[]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