|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Batchable
Batchable interface, this should be implemented by classes that wish to be loaded as Psychomorph plugins. You should aslo supply a no-args constructor (or no constructor for the no args default) for loading at runtime (using java reflection)
Method Summary | |
---|---|
void |
finish()
Performs any processing required at the end of the batch loading, |
java.lang.String |
getName()
Gets the name of the Batchable, used in to put them on the psychomorph menu in the form (for "My Bachable"): - My Batchable - Batch My Batchable |
boolean |
getReadTemplate()
Indicates if templates should be read in during batch operation |
boolean |
getWriteImage()
Indicates if images should be written out during batch operation |
boolean |
getWriteTemplate()
Indicates if templates should be written out during batch operation |
boolean |
initialise(PsychoMorphForm psychomorph)
Initialise the Batchable This is called each time the batchable is selected |
boolean |
process(ImageZoomPanel izp,
boolean single)
The process method is called for each image in the list, or for the current image in single mode |
Method Detail |
---|
boolean process(ImageZoomPanel izp, boolean single)
izp
- The ImageZoomPanel holds the image and Template to processsingle
- this indicates that we are (or are not) in bacth mode. Useful for things like saving undo data (for single) or not (for batch)
boolean initialise(PsychoMorphForm psychomorph)
psychomorph
- the main psychomorph object
void finish()
java.lang.String getName()
boolean getReadTemplate()
boolean getWriteTemplate()
boolean getWriteImage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |