Package gov.nih.mipav.model.file
Enum libjpeg.J_COLOR_SPACE
- java.lang.Object
-
- java.lang.Enum<libjpeg.J_COLOR_SPACE>
-
- gov.nih.mipav.model.file.libjpeg.J_COLOR_SPACE
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<libjpeg.J_COLOR_SPACE>
- Enclosing class:
- libjpeg
public static enum libjpeg.J_COLOR_SPACE extends java.lang.Enum<libjpeg.J_COLOR_SPACE>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JCS_BG_RGB
JCS_BG_YCC
JCS_CMYK
JCS_GRAYSCALE
JCS_RGB
JCS_UNKNOWN
JCS_YCbCr
JCS_YCCK
-
Constructor Summary
Constructors Modifier Constructor Description private
J_COLOR_SPACE()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static libjpeg.J_COLOR_SPACE
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static libjpeg.J_COLOR_SPACE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JCS_UNKNOWN
public static final libjpeg.J_COLOR_SPACE JCS_UNKNOWN
-
JCS_GRAYSCALE
public static final libjpeg.J_COLOR_SPACE JCS_GRAYSCALE
-
JCS_RGB
public static final libjpeg.J_COLOR_SPACE JCS_RGB
-
JCS_YCbCr
public static final libjpeg.J_COLOR_SPACE JCS_YCbCr
-
JCS_CMYK
public static final libjpeg.J_COLOR_SPACE JCS_CMYK
-
JCS_YCCK
public static final libjpeg.J_COLOR_SPACE JCS_YCCK
-
JCS_BG_RGB
public static final libjpeg.J_COLOR_SPACE JCS_BG_RGB
-
JCS_BG_YCC
public static final libjpeg.J_COLOR_SPACE JCS_BG_YCC
-
-
Method Detail
-
values
public static libjpeg.J_COLOR_SPACE[] 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 (libjpeg.J_COLOR_SPACE c : libjpeg.J_COLOR_SPACE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static libjpeg.J_COLOR_SPACE 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
-
-