public enum FontVariant extends Enum<FontVariant>
| Enum Constant and Description |
|---|
INHERIT |
NORMAL |
SMALL_CAPS |
| Modifier and Type | Method and Description |
|---|---|
static FontVariant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FontVariant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontVariant NORMAL
public static final FontVariant SMALL_CAPS
public static final FontVariant INHERIT
public static FontVariant[] values()
for (FontVariant c : FontVariant.values()) System.out.println(c);
public static FontVariant 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 © 2017 etc.to. All rights reserved.