[]
Serializable, Comparable<DataBarFillType>, Constable使用此枚举可以控制条件格式中的数据条是以纯色填充还是渐变填充显示。
worksheet.getRange("A1:A3").setValue(new Object[][] {
{10},
{20},
{30}
});
IDataBar dataBar = worksheet.getRange("A1:A3").getFormatConditions().addDatabar();
dataBar.setBarFillType(DataBarFillType.Gradient);
Enum.EnumDesc<E extends Enum<E>>static DataBarFillTypestatic DataBarFillType[]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