Modifier and Type | Method and Description |
---|---|
int |
getIntegerValue()
Returns the current value of the device property as an integer.
|
int |
getLowerLimit()
Returns the lower limit of this value.
|
int |
getUpperLimit()
Returns the upper limit of this value.
|
void |
setValue(int value)
Sets the current value of the property.
|
void |
setValueRelative(int offset)
Sets the value of the microscope relative to its current value.
|
getDeviceID, getPropertyID, getType, getValue, isEditable, setValue
int getIntegerValue() throws MicroscopeException, java.lang.NumberFormatException, java.lang.InterruptedException, java.rmi.RemoteException
MicroscopeException
java.lang.NumberFormatException
- Thrown when value is not an integer.java.lang.InterruptedException
java.rmi.RemoteException
void setValue(int 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(int offset) throws MicroscopeException, MicroscopeLockedException, java.lang.NumberFormatException, java.lang.InterruptedException, java.rmi.RemoteException
offset
- Amount for which the current value should be changed.MicroscopeException
MicroscopeLockedException
java.lang.NumberFormatException
- Thrown when current value is not an integer.java.lang.InterruptedException
java.rmi.RemoteException
int getLowerLimit() throws java.rmi.RemoteException
java.rmi.RemoteException
int getUpperLimit() throws java.rmi.RemoteException
java.rmi.RemoteException