Enum Class LineStyle
- All Implemented Interfaces:
Serializable,Comparable<LineStyle>,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
-
Enum Constant Details
-
Single
指定单行。 -
ThinThin
指定两条细线。 -
ThinThick
指定一条细线旁边有一条粗线。对于水平线,粗线位于细线下方。对于垂直线,粗线位于细线右侧。 -
ThickThin
指定一条粗线和一条细线相邻。对于水平线,粗线在细线上方。对于垂直线,粗线在细线左侧。 -
ThickBetweenThin
指定一条带有两侧细线的粗线。
-
-
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
-