Package ucar.nc2.ui.grid
Enum ColorScale.MinMaxType
- java.lang.Object
-
- java.lang.Enum<ColorScale.MinMaxType>
-
- ucar.nc2.ui.grid.ColorScale.MinMaxType
-
- All Implemented Interfaces:
Serializable,Comparable<ColorScale.MinMaxType>
- Enclosing class:
- ColorScale
public static enum ColorScale.MinMaxType extends Enum<ColorScale.MinMaxType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ColorScale.MinMaxTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ColorScale.MinMaxType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
horiz
public static final ColorScale.MinMaxType horiz
-
log
public static final ColorScale.MinMaxType log
-
hold
public static final ColorScale.MinMaxType hold
-
-
Method Detail
-
values
public static ColorScale.MinMaxType[] 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 (ColorScale.MinMaxType c : ColorScale.MinMaxType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ColorScale.MinMaxType 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 nameNullPointerException- if the argument is null
-
-