public enum HSLFFontInfoPredefined extends Enum<HSLFFontInfoPredefined> implements FontInfo
| Enum Constant and Description |
|---|
ARIAL |
COURIER_NEW |
TIMES_NEW_ROMAN |
WINGDINGS |
| Modifier and Type | Method and Description |
|---|---|
FontCharset |
getCharset() |
FontFamily |
getFamily() |
FontPitch |
getPitch() |
String |
getTypeface() |
static HSLFFontInfoPredefined |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HSLFFontInfoPredefined[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetFacets, getIndex, getPanose, setCharset, setFamily, setIndex, setPanose, setPitch, setTypefacepublic static final HSLFFontInfoPredefined ARIAL
public static final HSLFFontInfoPredefined TIMES_NEW_ROMAN
public static final HSLFFontInfoPredefined COURIER_NEW
public static final HSLFFontInfoPredefined WINGDINGS
public static HSLFFontInfoPredefined[] values()
for (HSLFFontInfoPredefined c : HSLFFontInfoPredefined.values()) System.out.println(c);
public static HSLFFontInfoPredefined 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 String getTypeface()
getTypeface in interface FontInfopublic FontCharset getCharset()
getCharset in interface FontInfopublic FontFamily getFamily()