| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FontFamily>
org.apache.poi.ss.usermodel.FontFamily
public enum FontFamily
The font family this font belongs to. A font family is a set of fonts having common stroke width and serif characteristics. The font name overrides when there are conflicting values.
Enum Constant Summary | |
---|---|
DECORATIVE | |
MODERN | |
NOT_APPLICABLE | |
ROMAN | |
SCRIPT | |
SWISS |
Method Summary | |
---|---|
int | getValue() Returns index of this font family |
static FontFamily | valueOf(int family) |
static FontFamily | valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static FontFamily[] | values() Returns an array containing the constants of this enum type, inthe 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 FontFamily NOT_APPLICABLE
public static final FontFamily ROMAN
public static final FontFamily SWISS
public static final FontFamily MODERN
public static final FontFamily SCRIPT
public static final FontFamily DECORATIVE
Method Detail |
---|
public static FontFamily[] values()
for (FontFamily c : FontFamily.values()) System.out.println(c);
public static FontFamily valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constantwith the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static FontFamily valueOf(int family)
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |