Package com.drew.metadata.bmp
Enum Class BmpHeaderDirectory.BitmapType
- All Implemented Interfaces:
Serializable,Comparable<BmpHeaderDirectory.BitmapType>,Constable
- Enclosing class:
- BmpHeaderDirectory
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription"BM" - Windows or OS/2 bitmap"BA" - OS/2 Bitmap array (multiple bitmaps)"CI" - OS/2 Color icon"CP" - OS/2 Color pointer"IC" - OS/2 Icon"PT" - OS/2 Pointer -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetValue()toString()typeOf(int value) Returns the enum constant of this class with the specified name.static BmpHeaderDirectory.BitmapType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BITMAP
"BM" - Windows or OS/2 bitmap -
OS2_BITMAP_ARRAY
"BA" - OS/2 Bitmap array (multiple bitmaps) -
OS2_ICON
"IC" - OS/2 Icon -
OS2_COLOR_ICON
"CI" - OS/2 Color icon -
OS2_COLOR_POINTER
"CP" - OS/2 Color pointer -
OS2_POINTER
"PT" - OS/2 Pointer
-
-
Field Details
-
value
private final int value
-
-
Constructor Details
-
BitmapType
private BitmapType(int value)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue() -
typeOf
-
toString
- Overrides:
toStringin classEnum<BmpHeaderDirectory.BitmapType>
-