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