public enum StandardFonts extends Enum<StandardFonts>
| Modifier and Type | Method and Description | 
|---|---|
| Font | create() | 
| Font | create(int size) | 
| static StandardFonts | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static StandardFonts[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final StandardFonts COURIER
public static final StandardFonts COURIER_ITALIC
public static final StandardFonts COURIER_BOLD
public static final StandardFonts COURIER_BOLDITALIC
public static final StandardFonts LIBERATION_MONO
public static final StandardFonts LIBERATION_MONO_ITALIC
public static final StandardFonts LIBERATION_MONO_BOLD
public static final StandardFonts LIBERATION_MONO_BOLDITALIC
public static final StandardFonts HELVETICA
public static final StandardFonts HELVETICA_ITALIC
public static final StandardFonts HELVETICA_BOLD
public static final StandardFonts HELVETICA_BOLDITALIC
public static final StandardFonts LIBERATION_SANS
public static final StandardFonts LIBERATION_SANS_ITALIC
public static final StandardFonts LIBERATION_SANS_BOLD
public static final StandardFonts LIBERATION_SANS_BOLDITALIC
public static final StandardFonts TIMES
public static final StandardFonts TIMES_ITALIC
public static final StandardFonts TIMES_BOLD
public static final StandardFonts TIMES_BOLDITALIC
public static final StandardFonts LIBERATION_SERIF
public static final StandardFonts LIBERATION_SERIF_ITALIC
public static final StandardFonts LIBERATION_SERIF_BOLD
public static final StandardFonts LIBERATION_SERIF_BOLDITALIC
public static final StandardFonts SYMBOL
public static final StandardFonts ZAPFDINGBATS
public static StandardFonts[] values()
for (StandardFonts c : StandardFonts.values()) System.out.println(c);
public static StandardFonts 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 nullpublic Font create() throws IOException
IOExceptionpublic Font create(int size) throws IOException
IOExceptionCopyright © 2020. All rights reserved.