Package jisa.devices.interfaces
Enum LockIn.TrigMode
- java.lang.Object
-
- java.lang.Enum<LockIn.TrigMode>
-
- jisa.devices.interfaces.LockIn.TrigMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LockIn.TrigMode>
- Enclosing interface:
- LockIn
public static enum LockIn.TrigMode extends java.lang.Enum<LockIn.TrigMode>
Enumeration of reference triggering modes
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LockIn.TrigMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LockIn.TrigMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINE
public static final LockIn.TrigMode SINE
-
POS_TTL
public static final LockIn.TrigMode POS_TTL
-
NEG_TTL
public static final LockIn.TrigMode NEG_TTL
-
-
Method Detail
-
values
public static LockIn.TrigMode[] 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 (LockIn.TrigMode c : LockIn.TrigMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LockIn.TrigMode 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
-
-