Enum Class BorderStyle
- All Implemented Interfaces:
Serializable, Comparable<BorderStyle>, Constable
儲存格框線樣式
框架無關的框線樣式列舉,於 CellStyle 套用時對映到底層 POI 的框線型別。
- Since:
- 4.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic BorderStyleReturns the enum constant of this class with the specified name.static BorderStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
無框線 -
SOLID
實線(等同細實線THIN) -
DOTTED
點線 -
DASHED
虛線 -
DOUBLE
雙線 -
THIN
細實線 -
THICK
粗實線 -
MEDIUM
中等實線 -
MEDIUM_DASHED
中等虛線
-
-
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
-