Enum Class TextUnderlineType
- All Implemented Interfaces:
Serializable,Comparable<TextUnderlineType>,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 TextUnderlineTypeReturns the enum constant of this class with the specified name.static TextUnderlineType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
指定无下划线。 -
Words
指定下划线单词。 -
Single
指定单行下划线。 -
Double
指定双线下划线。 -
Heavy
指定粗线下划线。 -
Dotted
指定一个点线下划线。 -
DottedHeavy
指定一个点划粗线下划线。 -
Dash
指定一个虚线下划线。 -
DashHeavy
指定一个虚线下划线。 -
DashLong
指定一个虚线的长下划线。 -
DashLongHeavy
指定一个长而粗的下划线。 -
DotDash
指定一个点划线下划线。 -
DotDashHeavy
指定一个点划线重线下划线。 -
DotDotDash
指定一个点划线下划线。 -
DotDotDashHeavy
指定一个点划线重底线。 -
Wavy
指定波浪线下划线。 -
WavyHeavy
指定一个波浪形的粗下划线。 -
WavyDouble
指定一个波浪双线下划线。
-
-
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
-