Package com.grapecity.documents.excel
Enum Class BorderLineStyle
- All Implemented Interfaces:
Serializable,Comparable<BorderLineStyle>,Constable
指定边框的线型。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription指定一个点划线边框。指定一个点划线边框。指定一个虚线边框。指定一个点线边框。指定双线。指定一个发丝细的边框。指定一个中等边框。指定一个中等点划线边框。指定一个中等长短线间隔边框。指定中等虚线。指定无边框。指定一个斜杠虚线边框。指定一个粗线边框。指定一个细边框。 -
Method Summary
Modifier and TypeMethodDescriptionstatic BorderLineStyleforValue(int value) 根据指定的整数值获取对应的枚举常量。intgetValue()获取表示枚举常量的整数值。static BorderLineStyleReturns the enum constant of this class with the specified name.static BorderLineStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
指定无边框。 -
Hair
指定一个发丝细的边框。 -
DashDotDot
指定一个点划线边框。 -
DashDot
指定一个点划线边框。 -
Dotted
指定一个点线边框。 -
Dashed
指定一个虚线边框。 -
Thin
指定一个细边框。 -
MediumDashDotDot
指定一个中等长短线间隔边框。 -
SlantDashDot
指定一个斜杠虚线边框。 -
MediumDashDot
指定一个中等点划线边框。 -
MediumDashed
指定中等虚线。 -
Medium
指定一个中等边框。 -
Thick
指定一个粗线边框。 -
Double
指定双线。
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue()获取表示枚举常量的整数值。- Returns:
- 枚举常量的序数值
-
forValue
根据指定的整数值获取对应的枚举常量。- Parameters:
value- 表示枚举常量的整数值。- Returns:
- BorderLineStyle 枚举常量。
-