Package at.bestsolution.uia
Enum Class TextDecorationLineStyle
- All Implemented Interfaces:
INativeEnum,Serializable,Comparable<TextDecorationLineStyle>,Constable
Contains values that specify the OverlineStyle, StrikethroughStyle, and UnderlineStyle text attributes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA dashed line.Alternating dashes and dots.A dash followed by two dots.A dotted line.A double line.Long dashes.No line style.A line style not represented by another value.A single solid line.A thick dashed line.Thick dashes alternating with thick dots.A thick dash followed by two thick dots.A thick dotted line.Thick long dashes.A thick single line.A thick wavy line.A wavy line.Only words (not spaces) are underlined. -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<TextDecorationLineStyle>fromNativeValue(int nativeValue) intstatic TextDecorationLineStyleReturns the enum constant of this class with the specified name.static TextDecorationLineStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
No line style. -
Single
A single solid line. -
WordsOnly
Only words (not spaces) are underlined. -
Double
A double line. -
Dot
A dotted line. -
Dash
A dashed line. -
DashDot
Alternating dashes and dots. -
DashDotDot
A dash followed by two dots. -
Wavy
A wavy line. -
ThickSingle
A thick single line. -
DoubleWavy
-
ThickWavy
A thick wavy line. -
LongDash
Long dashes. -
ThickDash
A thick dashed line. -
ThickDashDot
Thick dashes alternating with thick dots. -
ThickDashDotDot
A thick dash followed by two thick dots. -
ThickDot
A thick dotted line. -
ThickLongDash
Thick long dashes. -
Other
A line style not represented by another value.
-
-
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
-
getNativeValue
public int getNativeValue()- Specified by:
getNativeValuein interfaceINativeEnum
-
getConstantName
- Specified by:
getConstantNamein interfaceINativeEnum
-
fromNativeValue
-