public enum FontFamily extends Enum<FontFamily>
Modifier and Type | Method and Description |
---|---|
static FontFamily |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FontFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontFamily FNIL
public static final FontFamily FROMAN
public static final FontFamily FSWISS
public static final FontFamily FSCRIPT
public static FontFamily[] values()
for (FontFamily c : FontFamily.values()) System.out.println(c);
public static FontFamily 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 © 2019 Habarisoft. All rights reserved.