Enum FontHeader.PanoseXHeight
- java.lang.Object
-
- java.lang.Enum<FontHeader.PanoseXHeight>
-
- org.apache.poi.common.usermodel.fonts.FontHeader.PanoseXHeight
-
- All Implemented Interfaces:
Serializable
,Comparable<FontHeader.PanoseXHeight>
- Enclosing class:
- FontHeader
public static enum FontHeader.PanoseXHeight extends Enum<FontHeader.PanoseXHeight>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
CONSTANT_LARGE
CONSTANT_SMALL
CONSTANT_STD
DUCKING_LARGE
DUCKING_SMALL
DUCKING_STD
NO_FIT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FontHeader.PanoseXHeight
valueOf(String name)
Returns the enum constant of this type with the specified name.static FontHeader.PanoseXHeight[]
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.PanoseXHeight ANY
-
NO_FIT
public static final FontHeader.PanoseXHeight NO_FIT
-
CONSTANT_SMALL
public static final FontHeader.PanoseXHeight CONSTANT_SMALL
-
CONSTANT_STD
public static final FontHeader.PanoseXHeight CONSTANT_STD
-
CONSTANT_LARGE
public static final FontHeader.PanoseXHeight CONSTANT_LARGE
-
DUCKING_SMALL
public static final FontHeader.PanoseXHeight DUCKING_SMALL
-
DUCKING_STD
public static final FontHeader.PanoseXHeight DUCKING_STD
-
DUCKING_LARGE
public static final FontHeader.PanoseXHeight DUCKING_LARGE
-
-
Method Detail
-
values
public static FontHeader.PanoseXHeight[] 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.PanoseXHeight c : FontHeader.PanoseXHeight.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.PanoseXHeight 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
-
-