Enum HemfPlusImage.EmfPlusImageDataType
- java.lang.Object
-
- java.lang.Enum<HemfPlusImage.EmfPlusImageDataType>
-
- org.apache.poi.hemf.record.emfplus.HemfPlusImage.EmfPlusImageDataType
-
- All Implemented Interfaces:
Serializable,Comparable<HemfPlusImage.EmfPlusImageDataType>
- Enclosing class:
- HemfPlusImage
public static enum HemfPlusImage.EmfPlusImageDataType extends Enum<HemfPlusImage.EmfPlusImageDataType>
The ImageDataType enumeration defines types of image data formats.
-
-
Field Summary
Fields Modifier and Type Field Description intid
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HemfPlusImage.EmfPlusImageDataTypevalueOf(int id)Returns the enum constant of this type with the specified name.static HemfPlusImage.EmfPlusImageDataTypevalueOf(String name)Returns the enum constant of this type with the specified name.static HemfPlusImage.EmfPlusImageDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final HemfPlusImage.EmfPlusImageDataType UNKNOWN
The type of image is not known.
-
BITMAP
public static final HemfPlusImage.EmfPlusImageDataType BITMAP
Specifies a bitmap image.
-
METAFILE
public static final HemfPlusImage.EmfPlusImageDataType METAFILE
Specifies a metafile image.
-
CONTINUED
public static final HemfPlusImage.EmfPlusImageDataType CONTINUED
POI-specific - marks an unfinished/continuable image part
-
-
Method Detail
-
values
public static HemfPlusImage.EmfPlusImageDataType[] 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.EmfPlusImageDataType c : HemfPlusImage.EmfPlusImageDataType.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.EmfPlusImageDataType 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.EmfPlusImageDataType 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
-
-