[]
Serializable, Comparable<TopBottom>, Constable将此枚举与 ITop10 一起使用,以控制排名是从应用范围的顶部还是底部进行评估。
worksheet.getRange("A1:A5").setValue(new Object[][] {{10}, {30}, {20}, {50}, {40}});
ITop10 top10 = worksheet.getRange("A1:A5").getFormatConditions().addTop10();
top10.getInterior().setColor(Color.GetYellow());
top10.setRank(2);
top10.setTopBottom(TopBottom.Bottom);
Enum.EnumDesc<E extends Enum<E>>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