Enum FontHeader.PanoseWeight
- java.lang.Object
-
- java.lang.Enum<FontHeader.PanoseWeight>
-
- org.apache.poi.common.usermodel.fonts.FontHeader.PanoseWeight
-
- All Implemented Interfaces:
Serializable
,Comparable<FontHeader.PanoseWeight>
- Enclosing class:
- FontHeader
public static enum FontHeader.PanoseWeight extends Enum<FontHeader.PanoseWeight>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FontHeader.PanoseWeight
valueOf(String name)
Returns the enum constant of this type with the specified name.static FontHeader.PanoseWeight[]
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.PanoseWeight ANY
-
NO_FIT
public static final FontHeader.PanoseWeight NO_FIT
-
VERY_LIGHT
public static final FontHeader.PanoseWeight VERY_LIGHT
-
LIGHT
public static final FontHeader.PanoseWeight LIGHT
-
THIN
public static final FontHeader.PanoseWeight THIN
-
BOOK
public static final FontHeader.PanoseWeight BOOK
-
MEDIUM
public static final FontHeader.PanoseWeight MEDIUM
-
DEMI
public static final FontHeader.PanoseWeight DEMI
-
BOLD
public static final FontHeader.PanoseWeight BOLD
-
HEAVY
public static final FontHeader.PanoseWeight HEAVY
-
BLACK
public static final FontHeader.PanoseWeight BLACK
-
NORD
public static final FontHeader.PanoseWeight NORD
-
-
Method Detail
-
values
public static FontHeader.PanoseWeight[] 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.PanoseWeight c : FontHeader.PanoseWeight.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.PanoseWeight 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
-
-