public enum TextType extends Enum<TextType>
| Enum Constant and Description |
|---|
HIGHLIGHT |
SQUIGGLY |
STRIKEOUT |
UNDERLINE |
| Modifier and Type | Method and Description |
|---|---|
static TextType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextType HIGHLIGHT
public static final TextType UNDERLINE
public static final TextType SQUIGGLY
public static final TextType STRIKEOUT
public static TextType[] values()
for (TextType c : TextType.values()) System.out.println(c);
public static TextType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.