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