|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.cisban.rod.data.AbstractDataTypeManager uk.ac.cisban.rod.data.ImageManager
public class ImageManager
Manages the parsing and saving of Image
s.
Field Summary |
---|
Fields inherited from class uk.ac.cisban.rod.data.AbstractDataTypeManager |
---|
currentTasks, listeners |
Constructor Summary | |
---|---|
ImageManager()
Main constructor. |
Method Summary | |
---|---|
boolean |
attemptToLoadImageLog(java.lang.Long actionAppId)
Check if there are image log results for the current experiment. |
java.util.List<CompleteQueryResult> |
getImaging()
Get the pertinent information about loaded image logs, if it exists. |
java.util.Map<java.lang.Long,java.util.List<Image>> |
getImagingBrief()
|
java.util.List<Image> |
getImagingBrief(java.lang.Long appId)
Get the pertinent information about loaded image logs, if it exists. |
java.util.List<java.lang.String> |
getNonMappedPlates()
|
boolean |
hasPreviousMappings(long actionApplicationId)
|
java.lang.Boolean |
isLoaded(long applicationAppId)
Checks if there are mappings in the DataManager for the given ActionApplication . |
void |
listen(java.beans.PropertyChangeListener listener)
If there is a running SwingWorker, listen to it. |
javax.swing.SwingWorker |
saveImageLog(java.io.File file,
java.lang.Long actionApplicationId)
Returns a StateSwingWorker that can save an image log into the
current experiment. |
Methods inherited from class uk.ac.cisban.rod.data.AbstractDataTypeManager |
---|
addChangeListener, cancelCurrentTasks, hasCurrentTask, hasCurrentTask, removeChangeListener, setLoaded |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageManager()
Method Detail |
---|
public java.util.List<java.lang.String> getNonMappedPlates()
public java.util.Map<java.lang.Long,java.util.List<Image>> getImagingBrief()
public java.lang.Boolean isLoaded(long applicationAppId)
AbstractDataTypeManager
ActionApplication
.
isLoaded
in class AbstractDataTypeManager
applicationAppId
- the DB id
public java.util.List<Image> getImagingBrief(java.lang.Long appId)
appId
-
public java.util.List<CompleteQueryResult> getImaging()
public javax.swing.SwingWorker saveImageLog(java.io.File file, java.lang.Long actionApplicationId)
StateSwingWorker
that can save an image log into the
current experiment. The StateSwingWorker
must be executed to start
the saving.
file
- the file with the image log dataactionApplicationId
-
public boolean attemptToLoadImageLog(java.lang.Long actionAppId)
actionAppId
-
public boolean hasPreviousMappings(long actionApplicationId)
actionApplicationId
-
public void listen(java.beans.PropertyChangeListener listener) throws java.lang.InterruptedException
listener
- a PropertyChangeListener that is interested in things happening in this class.
java.lang.InterruptedException
- if the listener cannot be added
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |