public enum HSLFFontInfoPredefined extends java.lang.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() |
java.lang.Integer |
getIndex() |
FontPitch |
getPitch() |
java.lang.String |
getTypeface() |
void |
setCharset(FontCharset charset) |
void |
setFamily(FontFamily family) |
void |
setIndex(int index) |
void |
setPitch(FontPitch pitch) |
void |
setTypeface(java.lang.String typeface) |
static HSLFFontInfoPredefined |
valueOf(java.lang.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.
|
public 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(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 getTypeface()
getTypeface in interface FontInfopublic void setTypeface(java.lang.String typeface)
setTypeface in interface FontInfopublic FontCharset getCharset()
getCharset in interface FontInfopublic void setCharset(FontCharset charset)
setCharset in interface FontInfopublic FontFamily getFamily()
public void setFamily(FontFamily family)