[]
Serializable, Comparable<IconType>, Constable配置自定义图标集条件时,使用此枚举可以为 IIconCriterion 分配特定图标。
worksheet.getRange("A1:A3").setValue(new Object[][] {
{30},
{60},
{90}
});
IIconSetCondition condition = worksheet.getRange("A1:A3").getFormatConditions().addIconSetCondition();
condition.setIconSet(workbook.getIconSets().get(IconSetType.Icon3Arrows));
IIconCriterion criterion = condition.getIconCriteria().get(1);
criterion.setIcon(IconType.YellowSideArrow);
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