Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_TYPE_IDENTIFIER
The type identifier of the default implementation of this job.
|
Modifier and Type | Method and Description |
---|---|
int |
getFocusAdjustmentTime()
Returns the focus adjustment time (the time the microscope is paused after the new focus position was set) in ms.
|
java.lang.String |
getFocusDevice()
Returns the focus device name for which the position should be changed.
|
double |
getPosition()
Gets the position/offset of the focus/autofocus device.
|
boolean |
isRelative()
Returns true if the offset is relative to the current offset, false otherwise.
|
void |
setFocusAdjustmentTime(int adjustmentTime)
Sets the focus adjustment time (the time the microscope is paused after the new focus position was set) in ms.
|
void |
setFocusDevice(java.lang.String focusDevice)
Sets the focus device name for which the position should be changed.
|
void |
setPosition(double position,
boolean relative)
Sets the position the focus/autofocus should go to.
|
addJobListener, executeJob, initializeJob, removeJobListener, uninitializeJob
addMessageListener, getName, getPositionInformation, getUUID, removeMessageListener, setName
static final java.lang.String DEFAULT_TYPE_IDENTIFIER
int getFocusAdjustmentTime() throws java.rmi.RemoteException
java.rmi.RemoteException
void setFocusAdjustmentTime(int adjustmentTime) throws java.rmi.RemoteException, MeasurementRunningException
adjustmentTime
- Focus adjustment time.java.rmi.RemoteException
MeasurementRunningException
double getPosition() throws java.rmi.RemoteException
java.rmi.RemoteException
void setPosition(double position, boolean relative) throws java.rmi.RemoteException, MeasurementRunningException
position
- The position.relative
- True if position is relative to the current position, false if it is an absolute position.java.rmi.RemoteException
MeasurementRunningException
boolean isRelative() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getFocusDevice() throws java.rmi.RemoteException
java.rmi.RemoteException
void setFocusDevice(java.lang.String focusDevice) throws java.rmi.RemoteException, MeasurementRunningException
focusDevice
- Focus device name, or null, if the currently active focus device should be changed.java.rmi.RemoteException
MeasurementRunningException