public enum TextDecorationLineStyle extends java.lang.Enum<TextDecorationLineStyle> implements INativeEnum
Enum Constant and Description |
---|
Dash
A dashed line.
|
DashDot
Alternating dashes and dots.
|
DashDotDot
A dash followed by two dots.
|
Dot
A dotted line.
|
Double
A double line.
|
DoubleWavy |
LongDash
Long dashes.
|
None
No line style.
|
Other
A line style not represented by another value.
|
Single
A single solid line.
|
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.
|
ThickSingle
A thick single line.
|
ThickWavy
A thick wavy line.
|
Wavy
A wavy line.
|
WordsOnly
Only words (not spaces) are underlined.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<TextDecorationLineStyle> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static TextDecorationLineStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextDecorationLineStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextDecorationLineStyle None
public static final TextDecorationLineStyle Single
public static final TextDecorationLineStyle WordsOnly
public static final TextDecorationLineStyle Double
public static final TextDecorationLineStyle Dot
public static final TextDecorationLineStyle Dash
public static final TextDecorationLineStyle DashDot
public static final TextDecorationLineStyle DashDotDot
public static final TextDecorationLineStyle Wavy
public static final TextDecorationLineStyle ThickSingle
public static final TextDecorationLineStyle DoubleWavy
public static final TextDecorationLineStyle ThickWavy
public static final TextDecorationLineStyle LongDash
public static final TextDecorationLineStyle ThickDash
public static final TextDecorationLineStyle ThickDashDot
public static final TextDecorationLineStyle ThickDashDotDot
public static final TextDecorationLineStyle ThickDot
public static final TextDecorationLineStyle ThickLongDash
public static final TextDecorationLineStyle Other
public static TextDecorationLineStyle[] values()
for (TextDecorationLineStyle c : TextDecorationLineStyle.values()) System.out.println(c);
public static TextDecorationLineStyle valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getNativeValue()
getNativeValue
in interface INativeEnum
public java.lang.String getConstantName()
getConstantName
in interface INativeEnum
public static java.util.Optional<TextDecorationLineStyle> fromNativeValue(int nativeValue)