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