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