public static enum FontVariant.Type extends java.lang.Enum<FontVariant.Type>
| Enum Constant and Description |
|---|
inherit
Specifies that the font variant should be inherited from the parent
element
|
initial
Sets this property to its default value
|
normal
The browser displays a normal font.
|
small_caps
The browser displays a small-caps font
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static FontVariant.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FontVariant.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontVariant.Type normal
public static final FontVariant.Type small_caps
public static final FontVariant.Type inherit
public static final FontVariant.Type initial
public static FontVariant.Type[] values()
for (FontVariant.Type c : FontVariant.Type.values()) System.out.println(c);
public static FontVariant.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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<FontVariant.Type>