|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<HSLFFontInfoPredefined>
org.apache.poi.hslf.usermodel.HSLFFontInfoPredefined
public enum HSLFFontInfoPredefined
Predefined fonts
| Enum Constant Summary | |
|---|---|
ARIAL
|
|
COURIER_NEW
|
|
TIMES_NEW_ROMAN
|
|
WINGDINGS
|
|
| Method Summary | |
|---|---|
FontCharset |
getCharset()
|
FontFamily |
getFamily()
|
java.lang.Integer |
getIndex()
Get the index within the collection of Font objects |
FontPitch |
getPitch()
|
java.lang.String |
getTypeface()
|
void |
setCharset(FontCharset charset)
Sets the charset |
void |
setFamily(FontFamily family)
Sets the font family class |
void |
setIndex(int index)
Sets the index within the collection of Font objects |
void |
setPitch(FontPitch pitch)
Set the font pitch |
void |
setTypeface(java.lang.String typeface)
Sets the font name |
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final HSLFFontInfoPredefined ARIAL
public static final HSLFFontInfoPredefined TIMES_NEW_ROMAN
public static final HSLFFontInfoPredefined COURIER_NEW
public static final HSLFFontInfoPredefined WINGDINGS
| Method Detail |
|---|
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 name
java.lang.NullPointerException - if the argument is nullpublic java.lang.Integer getIndex()
FontInfo
getIndex in interface FontInfopublic void setIndex(int index)
FontInfo
setIndex in interface FontInfoindex - the index within the collection of Font objectspublic java.lang.String getTypeface()
getTypeface in interface FontInfopublic void setTypeface(java.lang.String typeface)
FontInfo
setTypeface in interface FontInfotypeface - the full name of the font, when null removes the font definition -
removal is implementation specificpublic FontCharset getCharset()
getCharset in interface FontInfopublic void setCharset(FontCharset charset)
FontInfo
setCharset in interface FontInfocharset - the charsetpublic FontFamily getFamily()
getFamily in interface FontInfopublic void setFamily(FontFamily family)
FontInfo
setFamily in interface FontInfofamily - the font family classpublic FontPitch getPitch()
getPitch in interface FontInfonull if unsupportedpublic void setPitch(FontPitch pitch)
FontInfo
setPitch in interface FontInfopitch - the font pitch
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||