public static enum TextElement.TextStyle extends Enum<TextElement.TextStyle>
TextElement
e.g. code, bold etc.Enum Constant and Description |
---|
CODE |
Modifier and Type | Method and Description |
---|---|
static TextElement.TextStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextElement.TextStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextElement.TextStyle CODE
public static TextElement.TextStyle[] values()
for (TextElement.TextStyle c : TextElement.TextStyle.values()) System.out.println(c);
public static TextElement.TextStyle 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 © 2023–2024 The Apache Software Foundation. All rights reserved.