Package com.drew.metadata.bmp
Enum Class BmpHeaderDirectory.ColorSpaceType
java.lang.Object
java.lang.Enum<BmpHeaderDirectory.ColorSpaceType>
com.drew.metadata.bmp.BmpHeaderDirectory.ColorSpaceType
- All Implemented Interfaces:
Serializable,Comparable<BmpHeaderDirectory.ColorSpaceType>,Constable
- Enclosing class:
- BmpHeaderDirectory
public static enum BmpHeaderDirectory.ColorSpaceType
extends Enum<BmpHeaderDirectory.ColorSpaceType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription0 = Calibrated RGB"sRGB" = sRGB Color Space"Win " = System Default Color Space, sRGB"MBED" = Embedded Profile"LINK" = Linked Profile -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetValue()toString()typeOf(long value) Returns the enum constant of this class with the specified name.static BmpHeaderDirectory.ColorSpaceType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LCS_CALIBRATED_RGB
0 = Calibrated RGB -
LCS_sRGB
"sRGB" = sRGB Color Space -
LCS_WINDOWS_COLOR_SPACE
"Win " = System Default Color Space, sRGB -
PROFILE_LINKED
"LINK" = Linked Profile -
PROFILE_EMBEDDED
"MBED" = Embedded Profile
-
-
Field Details
-
value
private final long value
-
-
Constructor Details
-
ColorSpaceType
private ColorSpaceType(long 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 long getValue() -
typeOf
-
toString
- Overrides:
toStringin classEnum<BmpHeaderDirectory.ColorSpaceType>
-