public enum UnderlinePatterns extends java.lang.Enum<UnderlinePatterns>
Enum Constant and Description |
---|
DASH
Specifies an underline consisting of a dashed line beneath all characters in this run.
|
DASH_DOT_DOT_HEAVY
Specifies an underline consisting of a series of thick dash, dot, dot characters beneath all characters in this run.
|
DASH_DOT_HEAVY
Specifies an underline consisting of a series of thick dash, dot characters beneath all characters in this run.
|
DASH_LONG
Specifies an underline consisting of long dashed characters beneath all characters in this run.
|
DASH_LONG_HEAVY
Specifies an underline consisting of thick long dashed characters beneath all characters in this run.
|
DASHED_HEAVY
Specifies an underline consisting of a series of thick dashes beneath all characters in this run.
|
DOT_DASH
Specifies an underline consisting of a series of dash, dot characters beneath all characters in this run.
|
DOT_DOT_DASH
Specifies an underline consisting of a series of dash, dot, dot characters beneath all characters in this run.
|
DOTTED
Specifies an underline consisting of a series of dot characters beneath all characters in this run.
|
DOTTED_HEAVY
Specifies an underline consisting of a series of thick dot characters beneath all characters in this run.
|
DOUBLE
Specifies an underline consisting of two lines beneath all characters in this run
|
NONE
Specifies no underline beneath this run.
|
SINGLE
Specifies an underline consisting of a single line beneath all characters in this run.
|
THICK
Specifies an underline consisting of a single thick line beneath all characters in this run.
|
WAVE
Specifies an underline consisting of a single wavy line beneath all characters in this run.
|
WAVY_DOUBLE
Specifies an underline consisting of a pair of wavy lines beneath all characters in this run.
|
WAVY_HEAVY
Specifies an underline consisting of a single thick wavy line beneath all characters in this run.
|
WORDS
Specifies an underline consisting of a single line beneath all non-space characters in the run.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static UnderlinePatterns |
valueOf(int type) |
static UnderlinePatterns |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
(返回具有指定名称的此类型的枚举常量。)
|
static UnderlinePatterns[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
(按照声明的顺序返回包含此枚举类型常量的数组。)
|
public static final UnderlinePatterns SINGLE
public static final UnderlinePatterns WORDS
public static final UnderlinePatterns DOUBLE
public static final UnderlinePatterns THICK
public static final UnderlinePatterns DOTTED
public static final UnderlinePatterns DOTTED_HEAVY
public static final UnderlinePatterns DASH
public static final UnderlinePatterns DASHED_HEAVY
public static final UnderlinePatterns DASH_LONG
public static final UnderlinePatterns DASH_LONG_HEAVY
public static final UnderlinePatterns DOT_DASH
public static final UnderlinePatterns DASH_DOT_HEAVY
public static final UnderlinePatterns DOT_DOT_DASH
public static final UnderlinePatterns DASH_DOT_DOT_HEAVY
public static final UnderlinePatterns WAVE
public static final UnderlinePatterns WAVY_HEAVY
public static final UnderlinePatterns WAVY_DOUBLE
public static final UnderlinePatterns NONE
public static UnderlinePatterns[] values()
for (UnderlinePatterns c : UnderlinePatterns.values()) System.out.println(c);(按照声明的顺序返回包含此枚举类型常量的数组。此方法可用于迭代常量,如下所示: for (UnderlinePatterns c : UnderlinePatterns.values()) System.out.println(c);)
public static UnderlinePatterns valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
(name - 要返回的枚举常量的名称。)
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified name
(java.lang.IllegalArgumentException - 如果此枚举类型没有具有指定名称的常量)
java.lang.NullPointerException
- if the argument is null
(java.lang.NullPointerException - 如果参数为空)
public static UnderlinePatterns valueOf(int type)
public int getValue()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.