@Deprecated public static enum Font.Style extends Enum<Font.Style>
| Enum Constant and Description |
|---|
BOLD
Deprecated.
|
BOLD_ITALIC
Deprecated.
|
ITALIC
Deprecated.
|
NORMAL
Deprecated.
|
| 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 BOLD
public static final Font.Style BOLD_ITALIC
public static final Font.Style ITALIC
public static final Font.Style NORMAL
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 nullCopyright © 2008-2013. All Rights Reserved.