Package com.twelvemonkeys.imageio
Enum StandardImageMetadataSupport.ColorSpaceType
- java.lang.Object
-
- java.lang.Enum<StandardImageMetadataSupport.ColorSpaceType>
-
- com.twelvemonkeys.imageio.StandardImageMetadataSupport.ColorSpaceType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<StandardImageMetadataSupport.ColorSpaceType>
- Enclosing class:
- StandardImageMetadataSupport
protected static enum StandardImageMetadataSupport.ColorSpaceType extends java.lang.Enum<StandardImageMetadataSupport.ColorSpaceType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CMY
CMYK
GENERIC_2CLR
GENERIC_3CLR
GENERIC_4CLR
GENERIC_5CLR
GENERIC_6CLR
GENERIC_7CLR
GENERIC_8CLR
GENERIC_9CLR
GENERIC_ACLR
GENERIC_BCLR
GENERIC_CCLR
GENERIC_DCLR
GENERIC_ECLR
GENERIC_FCLR
GRAY
HLS
HSV
Lab
Luv
PhotoYCC
RGB
XYZ
YCbCr
YCCK
Yxy
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
nameOverride
(package private) int
numChannels
-
Constructor Summary
Constructors Modifier Constructor Description private
ColorSpaceType(int numChannels)
private
ColorSpaceType(int numChannels, java.lang.String nameOverride)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static StandardImageMetadataSupport.ColorSpaceType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StandardImageMetadataSupport.ColorSpaceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
XYZ
public static final StandardImageMetadataSupport.ColorSpaceType XYZ
-
Lab
public static final StandardImageMetadataSupport.ColorSpaceType Lab
-
Luv
public static final StandardImageMetadataSupport.ColorSpaceType Luv
-
YCbCr
public static final StandardImageMetadataSupport.ColorSpaceType YCbCr
-
Yxy
public static final StandardImageMetadataSupport.ColorSpaceType Yxy
-
YCCK
public static final StandardImageMetadataSupport.ColorSpaceType YCCK
-
PhotoYCC
public static final StandardImageMetadataSupport.ColorSpaceType PhotoYCC
-
RGB
public static final StandardImageMetadataSupport.ColorSpaceType RGB
-
GRAY
public static final StandardImageMetadataSupport.ColorSpaceType GRAY
-
HSV
public static final StandardImageMetadataSupport.ColorSpaceType HSV
-
HLS
public static final StandardImageMetadataSupport.ColorSpaceType HLS
-
CMYK
public static final StandardImageMetadataSupport.ColorSpaceType CMYK
-
CMY
public static final StandardImageMetadataSupport.ColorSpaceType CMY
-
GENERIC_2CLR
public static final StandardImageMetadataSupport.ColorSpaceType GENERIC_2CLR
-
GENERIC_3CLR
public static final StandardImageMetadataSupport.ColorSpaceType GENERIC_3CLR
-
GENERIC_4CLR
public static final StandardImageMetadataSupport.ColorSpaceType GENERIC_4CLR
-
GENERIC_5CLR
public static final StandardImageMetadataSupport.ColorSpaceType GENERIC_5CLR
-
GENERIC_6CLR
public static final StandardImageMetadataSupport.ColorSpaceType GENERIC_6CLR
-
GENERIC_7CLR
public static final StandardImageMetadataSupport.ColorSpaceType GENERIC_7CLR
-
GENERIC_8CLR
public static final StandardImageMetadataSupport.ColorSpaceType GENERIC_8CLR
-
GENERIC_9CLR
public static final StandardImageMetadataSupport.ColorSpaceType GENERIC_9CLR
-
GENERIC_ACLR
public static final StandardImageMetadataSupport.ColorSpaceType GENERIC_ACLR
-
GENERIC_BCLR
public static final StandardImageMetadataSupport.ColorSpaceType GENERIC_BCLR
-
GENERIC_CCLR
public static final StandardImageMetadataSupport.ColorSpaceType GENERIC_CCLR
-
GENERIC_DCLR
public static final StandardImageMetadataSupport.ColorSpaceType GENERIC_DCLR
-
GENERIC_ECLR
public static final StandardImageMetadataSupport.ColorSpaceType GENERIC_ECLR
-
GENERIC_FCLR
public static final StandardImageMetadataSupport.ColorSpaceType GENERIC_FCLR
-
-
Method Detail
-
values
public static StandardImageMetadataSupport.ColorSpaceType[] 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 (StandardImageMetadataSupport.ColorSpaceType c : StandardImageMetadataSupport.ColorSpaceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StandardImageMetadataSupport.ColorSpaceType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<StandardImageMetadataSupport.ColorSpaceType>
-
-