Enum SimpleMeasurements.MeasurementCategory
- java.lang.Object
-
- java.lang.Enum<SimpleMeasurements.MeasurementCategory>
-
- de.gsi.chart.plugins.measurements.SimpleMeasurements.MeasurementCategory
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SimpleMeasurements.MeasurementCategory>
- Enclosing class:
- SimpleMeasurements
public static enum SimpleMeasurements.MeasurementCategory extends java.lang.Enum<SimpleMeasurements.MeasurementCategory>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCHORIZONTALINDICATORVERTICAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()java.lang.StringtoString()static SimpleMeasurements.MeasurementCategoryvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SimpleMeasurements.MeasurementCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INDICATOR
public static final SimpleMeasurements.MeasurementCategory INDICATOR
-
VERTICAL
public static final SimpleMeasurements.MeasurementCategory VERTICAL
-
HORIZONTAL
public static final SimpleMeasurements.MeasurementCategory HORIZONTAL
-
ACC
public static final SimpleMeasurements.MeasurementCategory ACC
-
-
Method Detail
-
values
public static SimpleMeasurements.MeasurementCategory[] 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 (SimpleMeasurements.MeasurementCategory c : SimpleMeasurements.MeasurementCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SimpleMeasurements.MeasurementCategory 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
-
getName
public java.lang.String getName()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<SimpleMeasurements.MeasurementCategory>
-
-