mavis
Enum MeasurementEvent.Type

java.lang.Object
  extended by java.lang.Enum<MeasurementEvent.Type>
      extended by mavis.MeasurementEvent.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MeasurementEvent.Type>
Enclosing class:
MeasurementEvent

public static enum MeasurementEvent.Type
extends java.lang.Enum<MeasurementEvent.Type>

The type of a measurement event.


Enum Constant Summary
DEMAGNETIZE_END
           
DEMAGNETIZE_START
           
HANDLER_MOVE
           
HANDLER_ROTATE
           
HANDLER_STOP
           
STEP_ABORTED
           
STEP_END
           
STEP_START
           
VALUE_MEASURED
           
 
Method Summary
static MeasurementEvent.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MeasurementEvent.Type[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STEP_START

public static final MeasurementEvent.Type STEP_START

STEP_END

public static final MeasurementEvent.Type STEP_END

STEP_ABORTED

public static final MeasurementEvent.Type STEP_ABORTED

HANDLER_MOVE

public static final MeasurementEvent.Type HANDLER_MOVE

HANDLER_ROTATE

public static final MeasurementEvent.Type HANDLER_ROTATE

HANDLER_STOP

public static final MeasurementEvent.Type HANDLER_STOP

DEMAGNETIZE_START

public static final MeasurementEvent.Type DEMAGNETIZE_START

DEMAGNETIZE_END

public static final MeasurementEvent.Type DEMAGNETIZE_END

VALUE_MEASURED

public static final MeasurementEvent.Type VALUE_MEASURED
Method Detail

values

public static final MeasurementEvent.Type[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(MeasurementEvent.Type c : MeasurementEvent.Type.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static MeasurementEvent.Type 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 name