com.jidesoft.colormap
Enum ColorMap.Matching
java.lang.Object
java.lang.Enum<ColorMap.Matching>
com.jidesoft.colormap.ColorMap.Matching
- All Implemented Interfaces:
- Serializable, Comparable<ColorMap.Matching>
- Enclosing interface:
- ColorMap
public static enum ColorMap.Matching
- extends Enum<ColorMap.Matching>
EXACT
public static final ColorMap.Matching EXACT
CLOSEST
public static final ColorMap.Matching CLOSEST
values
public static ColorMap.Matching[] 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 (ColorMap.Matching c : ColorMap.Matching.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ColorMap.Matching valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null