Package jisa.devices.interfaces
Class Instrument.Parameter<S>
- java.lang.Object
-
- jisa.devices.interfaces.Instrument.Parameter<S>
-
- Enclosing interface:
- Instrument
public static class Instrument.Parameter<S> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Parameter(java.lang.String name, S defaultValue, Instrument.Setter<S> setter, S... options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<S>
getChoices()
S
getDefaultValue()
java.lang.String
getName()
boolean
isChoice()
void
set(S value)
-
-
-
Constructor Detail
-
Parameter
public Parameter(java.lang.String name, S defaultValue, Instrument.Setter<S> setter, S... options)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
set
public void set(S value) throws java.io.IOException, DeviceException
- Throws:
java.io.IOException
DeviceException
-
getDefaultValue
public S getDefaultValue()
-
isChoice
public boolean isChoice()
-
getChoices
public java.util.List<S> getChoices()
-
-