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() |
FontPitch |
getPitch() |
java.lang.String |
getTypeface() |
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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getFacets, getIndex, getPanose, setCharset, setFamily, setIndex, setPanose, setPitch, setTypeface
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 FontInfo
public FontCharset getCharset()
getCharset
in interface FontInfo
public FontFamily getFamily()
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.