public static enum Font.StyleType extends java.lang.Enum<Font.StyleType>
Enum Constant and Description |
---|
NOT_SET |
STYLE_ITALIC |
STYLE_NORMAL |
STYLE_OBLIQUE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static Font.StyleType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Font.StyleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Font.StyleType NOT_SET
public static final Font.StyleType STYLE_ITALIC
public static final Font.StyleType STYLE_NORMAL
public static final Font.StyleType STYLE_OBLIQUE
public static Font.StyleType[] values()
for (Font.StyleType c : Font.StyleType.values()) System.out.println(c);
public static Font.StyleType 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 nullpublic java.lang.String getValue()