public static enum FontStyle.Type extends java.lang.Enum<FontStyle.Type>
Enum Constant and Description |
---|
ininherit
Specifies that the font style should be inherited from the parent
element
|
italic
The browser displays an italic font style
|
normal
The browser displays a normal font style.
|
oblique
The browser displays an oblique font style
|
Modifier and Type | Method and Description |
---|---|
static FontStyle.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FontStyle.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontStyle.Type normal
public static final FontStyle.Type italic
public static final FontStyle.Type oblique
public static final FontStyle.Type ininherit
public static FontStyle.Type[] values()
for (FontStyle.Type c : FontStyle.Type.values()) System.out.println(c);
public static FontStyle.Type 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