Enum HemfPlusHeader.GraphicsVersion
- java.lang.Object
-
- java.lang.Enum<HemfPlusHeader.GraphicsVersion>
-
- org.apache.poi.hemf.record.emfplus.HemfPlusHeader.GraphicsVersion
-
- All Implemented Interfaces:
Serializable,Comparable<HemfPlusHeader.GraphicsVersion>
- Enclosing class:
- HemfPlusHeader
public static enum HemfPlusHeader.GraphicsVersion extends Enum<HemfPlusHeader.GraphicsVersion>
The GraphicsVersion enumeration defines versions of operating system graphics that are used to create EMF+ metafiles.
-
-
Field Summary
Fields Modifier and Type Field Description intid
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HemfPlusHeader.GraphicsVersionvalueOf(int id)Returns the enum constant of this type with the specified name.static HemfPlusHeader.GraphicsVersionvalueOf(String name)Returns the enum constant of this type with the specified name.static HemfPlusHeader.GraphicsVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
V1
public static final HemfPlusHeader.GraphicsVersion V1
-
V1_1
public static final HemfPlusHeader.GraphicsVersion V1_1
-
-
Method Detail
-
values
public static HemfPlusHeader.GraphicsVersion[] 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 (HemfPlusHeader.GraphicsVersion c : HemfPlusHeader.GraphicsVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HemfPlusHeader.GraphicsVersion 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
-
valueOf
public static HemfPlusHeader.GraphicsVersion valueOf(int id)
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:
id- 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
-
-