public static enum StyleConstants.TextStyle extends java.lang.Enum<StyleConstants.TextStyle>
Enum Constant and Description |
---|
BOLD |
BOLD_ITALIC |
ITALIC |
NORMAL |
Modifier and Type | Method and Description |
---|---|
static StyleConstants.TextStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StyleConstants.TextStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StyleConstants.TextStyle NORMAL
public static final StyleConstants.TextStyle ITALIC
public static final StyleConstants.TextStyle BOLD
public static final StyleConstants.TextStyle BOLD_ITALIC
public static StyleConstants.TextStyle[] values()
for (StyleConstants.TextStyle c : StyleConstants.TextStyle.values()) System.out.println(c);
public static StyleConstants.TextStyle 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 null