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