public class ComposedImagingJobConfiguration extends JobConfiguration implements ImageProducerConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_IDENTIFIER
The identifier for this job type.
|
Constructor and Description |
---|
ComposedImagingJobConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration()
Checks the current state of the configuration.
|
java.lang.Object |
clone() |
java.lang.String |
getCameraDevice()
Returns the camera device used for imaging.
|
java.lang.String |
getChannel() |
java.lang.String |
getChannelGroup() |
java.lang.String |
getDescription()
Returns a short description of this job.
|
double |
getExposure() |
java.lang.String |
getImageSaveName()
Returns the name under which images of this job should be saved.
|
java.lang.String[] |
getImageSaveNames()
Should return the names of all images produced by this job and which should be saved to disk.
|
int |
getNumberOfImages()
Returns the number of images which get produced per evaluation of a job initialized with this configuration.
|
java.awt.Dimension |
getNumPixels() |
int |
getNx() |
int |
getNy() |
double |
getOverlap() |
double |
getPixelSize() |
java.lang.String |
getPixelSizeID()
Returns the ID of the pixel size setting, or null if the pixel size does not correspond to a predefined pixel size setting.
|
java.lang.String |
getTypeIdentifier()
Returns a unique identifier for this configuration type.
|
boolean |
isSaveImages() |
void |
setCameraDevice(java.lang.String cameraDevice)
Sets the camera device used for imaging.
|
void |
setChannel(java.lang.String channelGroup,
java.lang.String channel)
Sets the channel in which the images should be made.
|
void |
setExposure(double exposure) |
void |
setImageSaveName(java.lang.String name)
Sets the name under which images of this job should be saved.
|
void |
setNumPixels(java.awt.Dimension numPixels) |
void |
setNx(int nx) |
void |
setNy(int ny) |
void |
setOverlap(double overlap) |
void |
setPixelSize(double pixelSize) |
void |
setPixelSizeID(java.lang.String pixelSizeID)
Sets the ID of the pixel size setting, or null if the pixel size does not correspond to a predefined pixel size setting.
|
void |
setSaveImages(boolean saveImages) |
toString
public static final java.lang.String TYPE_IDENTIFIER
public java.lang.String getDescription()
JobConfiguration
getDescription
in class JobConfiguration
public void setChannel(java.lang.String channelGroup, java.lang.String channel)
channelGroup
- The group of the channel.channel
- The channel.public java.lang.String getChannel()
public java.lang.String getChannelGroup()
public void setExposure(double exposure)
exposure
- the exposure to setpublic double getExposure()
public void setSaveImages(boolean saveImages)
saveImages
- the saveImages to setpublic boolean isSaveImages()
public java.lang.String getImageSaveName()
public void setImageSaveName(java.lang.String name)
name
- Name for images.public void setNx(int nx)
nx
- the nx to setpublic int getNx()
public void setNy(int ny)
ny
- the ny to setpublic int getNy()
public void setPixelSize(double pixelSize)
pixelSize
- the pixelSize to setpublic double getPixelSize()
public void setNumPixels(java.awt.Dimension numPixels)
numPixels
- the numPixels to setpublic java.awt.Dimension getNumPixels()
public void setOverlap(double overlap)
overlap
- the overlap to setpublic double getOverlap()
public java.lang.String getTypeIdentifier()
Configuration
getTypeIdentifier
in interface Configuration
public void setPixelSizeID(java.lang.String pixelSizeID)
pixelSizeID
- ID of the pixel size setting.public java.lang.String getPixelSizeID()
public void setCameraDevice(java.lang.String cameraDevice)
cameraDevice
- Name of the camera device, or null if standard camera should be used.public java.lang.String getCameraDevice()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class JobConfiguration
java.lang.CloneNotSupportedException
public java.lang.String[] getImageSaveNames()
ImageProducerConfiguration
getImageSaveNames
in interface ImageProducerConfiguration
public int getNumberOfImages()
ImageProducerConfiguration
getNumberOfImages
in interface ImageProducerConfiguration
public void checkConfiguration() throws ConfigurationException
Configuration
ConfigurationException
is thrown describing the error, and what has to be changed in the configuration, by the user,
such that it becomes valid. This error can then e.g. be displayed to the user
(see ConfigurationAddonTools.displayConfigurationInvalid(ConfigurationException, YouScopeClient).checkConfiguration
in interface Configuration
checkConfiguration
in class JobConfiguration
ConfigurationException