Enum Class UnderlineStyle
- All Implemented Interfaces:
Serializable,Comparable<UnderlineStyle>,Constable
Represents a style for underlining text.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionText has a dashed line underlining it.Text has a line whose repeating pattern is a dot followed by a dash underlining it.Text has a line whose repeating pattern is two dots followed by a dash underlining it.Text has a dotted line underlining it.Text has a dashed line whose dashes are longer than the ones from the dashed line for value dash underlining it.Text has no underlining.Text has a solid line underlining it.Text has a wavy line underlining it. -
Method Summary
Modifier and TypeMethodDescriptionstatic UnderlineStyleReturns the enum constant of this class with the specified name.static UnderlineStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SOLID
Text has a solid line underlining it. -
DOTTED
Text has a dotted line underlining it. -
DASH
Text has a dashed line underlining it. -
LONG_DASH
Text has a dashed line whose dashes are longer than the ones from the dashed line for value dash underlining it. -
DOT_DASH
Text has a line whose repeating pattern is a dot followed by a dash underlining it. -
DOT_DOT_DASH
Text has a line whose repeating pattern is two dots followed by a dash underlining it. -
WAVE
Text has a wavy line underlining it. -
NONE
Text has no underlining.
-
-
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
-