[]
Serializable, Comparable<BordersIndex>, Constable将此枚举与 IBorders.get(BordersIndex) 一起使用,以访问区域的特定边缘、内部边框或对角线边框,并应用各自的边框设置。
IRange range = worksheet.getRange("B2:C3");
range.getBorders().setLineStyle(BorderLineStyle.Thin);
range.getBorders().get(BordersIndex.InsideHorizontal).setLineStyle(BorderLineStyle.Double);
range.getBorders().get(BordersIndex.EdgeBottom).setColor(Color.GetBlue());
Enum.EnumDesc<E extends Enum<E>>static BordersIndexstatic BordersIndex[]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