[]
Serializable, Comparable<DataBarBorderType>, Constable将此枚举与 IDataBarBorder 一起使用,可以控制数据条是不显示边框还是显示实线边框。
worksheet.getRange("A1:A5").setValue(new Object[][] {{1}, {2}, {3}, {4}, {5}});
IDataBar dataBar = worksheet.getRange("A1:A5").getFormatConditions().addDatabar();
IDataBarBorder border = dataBar.getBarBorder();
border.setType(DataBarBorderType.Solid);
Enum.EnumDesc<E extends Enum<E>>static DataBarBorderTypestatic DataBarBorderType[]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