[]
Serializable, Comparable<DataBarDirection>, Constable将此枚举与 IDataBar.setDirection(DataBarDirection) 一起使用,可以控制使用数据条条件格式的单元格中数据条的显示方式。
worksheet.getRange("A1:A3").setValue(new Object[][] {{10}, {20}, {30}});
IDataBar dataBar = worksheet.getRange("A1:A3").getFormatConditions().addDatabar();
dataBar.setDirection(DataBarDirection.RightToLeft);
DataBarDirection direction = dataBar.getDirection();
Enum.EnumDesc<E extends Enum<E>>static DataBarDirectionstatic DataBarDirection[]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