public static enum StyleConstants.TextStyle extends Enum<StyleConstants.TextStyle>
| Enum Constant and Description |
|---|
BOLD |
BOLD_ITALIC |
ITALIC |
NORMAL |
| Modifier and Type | Method and Description |
|---|---|
static StyleConstants.TextStyle |
valueOf(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(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 © 2015. All rights reserved.