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