Enum HemfPlusImage.EmfPlusMetafileDataType
- java.lang.Object
-
- java.lang.Enum<HemfPlusImage.EmfPlusMetafileDataType>
-
- org.apache.poi.hemf.record.emfplus.HemfPlusImage.EmfPlusMetafileDataType
-
- All Implemented Interfaces:
Serializable,Comparable<HemfPlusImage.EmfPlusMetafileDataType>
- Enclosing class:
- HemfPlusImage
public static enum HemfPlusImage.EmfPlusMetafileDataType extends Enum<HemfPlusImage.EmfPlusMetafileDataType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EmfEmfPlusDualEmfPlusOnlyWmfWmfPlaceable
-
Field Summary
Fields Modifier and Type Field Description intid
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HemfPlusImage.EmfPlusMetafileDataTypevalueOf(int id)Returns the enum constant of this type with the specified name.static HemfPlusImage.EmfPlusMetafileDataTypevalueOf(String name)Returns the enum constant of this type with the specified name.static HemfPlusImage.EmfPlusMetafileDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Wmf
public static final HemfPlusImage.EmfPlusMetafileDataType Wmf
-
WmfPlaceable
public static final HemfPlusImage.EmfPlusMetafileDataType WmfPlaceable
-
Emf
public static final HemfPlusImage.EmfPlusMetafileDataType Emf
-
EmfPlusOnly
public static final HemfPlusImage.EmfPlusMetafileDataType EmfPlusOnly
-
EmfPlusDual
public static final HemfPlusImage.EmfPlusMetafileDataType EmfPlusDual
-
-
Method Detail
-
values
public static HemfPlusImage.EmfPlusMetafileDataType[] 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 (HemfPlusImage.EmfPlusMetafileDataType c : HemfPlusImage.EmfPlusMetafileDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HemfPlusImage.EmfPlusMetafileDataType 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 HemfPlusImage.EmfPlusMetafileDataType 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
-
-