Package jisa.devices.amp
Enum SR830.RefMode
- java.lang.Object
-
- java.lang.Enum<SR830.RefMode>
-
- jisa.devices.amp.SR830.RefMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SR830.RefMode>
,Nameable
- Enclosing class:
- SR830
public static enum SR830.RefMode extends java.lang.Enum<SR830.RefMode> implements Nameable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
LockIn.RefMode
getRefMode()
java.lang.String
toString()
static SR830.RefMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SR830.RefMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXTERNAL
public static final SR830.RefMode EXTERNAL
-
INTERNAL
public static final SR830.RefMode INTERNAL
-
-
Method Detail
-
values
public static SR830.RefMode[] 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 (SR830.RefMode c : SR830.RefMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SR830.RefMode 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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<SR830.RefMode>
-
getRefMode
public LockIn.RefMode getRefMode()
-
-