Modifier and Type | Method and Description |
---|---|
float |
getFloatValue()
Returns the current value of the device property as a float.
|
float |
getLowerLimit()
Returns the lower limit of this value.
|
float |
getUpperLimit()
Returns the upper limit of this value.
|
void |
setValue(float value)
Sets the current value of the property.
|
void |
setValueRelative(float offset)
Sets the value of the microscope relative to its current value.
|
getDeviceID, getPropertyID, getType, getValue, isEditable, setValue
float getFloatValue() throws MicroscopeException, java.lang.NumberFormatException, java.lang.InterruptedException, java.rmi.RemoteException
MicroscopeException
java.lang.NumberFormatException
- Thrown when value is not a float.java.lang.InterruptedException
java.rmi.RemoteException
void setValue(float value) throws MicroscopeException, MicroscopeLockedException, java.lang.InterruptedException, java.rmi.RemoteException
value
- Value to set the property to.MicroscopeException
MicroscopeLockedException
java.lang.InterruptedException
java.rmi.RemoteException
void setValueRelative(float offset) throws MicroscopeException, java.rmi.RemoteException, MicroscopeLockedException, java.lang.NumberFormatException, java.lang.InterruptedException
offset
- Amount for which the current value should be changed.MicroscopeException
java.rmi.RemoteException
MicroscopeLockedException
java.lang.NumberFormatException
- Thrown when current value is not a float.java.lang.InterruptedException
float getLowerLimit() throws java.rmi.RemoteException
java.rmi.RemoteException
float getUpperLimit() throws java.rmi.RemoteException
java.rmi.RemoteException