Enum FontHeader.PanoseFamily
- java.lang.Object
-
- java.lang.Enum<FontHeader.PanoseFamily>
-
- org.apache.poi.common.usermodel.fonts.FontHeader.PanoseFamily
-
- All Implemented Interfaces:
Serializable
,Comparable<FontHeader.PanoseFamily>
- Enclosing class:
- FontHeader
public static enum FontHeader.PanoseFamily extends Enum<FontHeader.PanoseFamily>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
DECORATIVE
NO_FIT
PICTORIAL
SCRIPT
TEXT_DISPLAY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FontHeader.PanoseFamily
valueOf(String name)
Returns the enum constant of this type with the specified name.static FontHeader.PanoseFamily[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final FontHeader.PanoseFamily ANY
-
NO_FIT
public static final FontHeader.PanoseFamily NO_FIT
-
TEXT_DISPLAY
public static final FontHeader.PanoseFamily TEXT_DISPLAY
-
SCRIPT
public static final FontHeader.PanoseFamily SCRIPT
-
DECORATIVE
public static final FontHeader.PanoseFamily DECORATIVE
-
PICTORIAL
public static final FontHeader.PanoseFamily PICTORIAL
-
-
Method Detail
-
values
public static FontHeader.PanoseFamily[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FontHeader.PanoseFamily c : FontHeader.PanoseFamily.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FontHeader.PanoseFamily valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-