|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.sanger.cgp.standalonecsa.services.ChromatogramServiceImpl
public class ChromatogramServiceImpl
This class handles rendering of chromatogram graphics.
| Field Summary | |
|---|---|
protected static org.apache.commons.logging.Log |
log
|
| Constructor Summary | |
|---|---|
ChromatogramServiceImpl()
Creates a new instance of ChromatogramServiceImpl |
|
| Method Summary | |
|---|---|
java.awt.image.BufferedImage |
generateComplexVariantView(java.lang.String pathRoot,
ExperimentBean expBean,
ExperimentBean wtExp,
boolean drawBaseChar,
boolean writeToFile)
Generates images required for the complex variant view. |
java.awt.image.BufferedImage |
generateFullChrom(java.lang.String pathStub,
ExperimentBean expBean,
boolean writeImage,
boolean drawBaseChar)
Generates a full chromatogram image. |
java.awt.image.BufferedImage[] |
generateVariantViewSet(java.lang.String pathRoot,
ExperimentBean expBean,
ExperimentBean wtExp,
boolean drawBaseChar,
boolean writeToFile)
Generates images required for the simple variant view. |
java.awt.image.BufferedImage |
generateVariantViewSingle(java.lang.String pathRoot,
ExperimentBean expBean,
boolean writeToFile,
boolean drawBaseChar)
Generates an image as used in the simple variant view. |
void |
resetPreviousRendered()
Resets the set of files that have been previously rendered and written to a file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public ChromatogramServiceImpl()
| Method Detail |
|---|
public java.awt.image.BufferedImage generateVariantViewSingle(java.lang.String pathRoot,
ExperimentBean expBean,
boolean writeToFile,
boolean drawBaseChar)
ChromatogramServiceExperimentBean.getVariantToRender() must not be nullwriteToFile is false pathRoot can be null
generateVariantViewSingle in interface ChromatogramServicepathRoot - directory to write image toexpBean - the experiment to use when rendering this variantwriteToFile - indicates if writing to a file should be attempteddrawBaseChar - true when base character should be rendered over the change
public java.awt.image.BufferedImage[] generateVariantViewSet(java.lang.String pathRoot,
ExperimentBean expBean,
ExperimentBean wtExp,
boolean drawBaseChar,
boolean writeToFile)
ChromatogramServiceExperimentBean.getVariantToRender() must not be null
generateVariantViewSet in interface ChromatogramServicepathRoot - directory to write image toexpBean - the variant experiment to use when rendering this variantwtExp - the wildtype experiment to use when rendering this variantdrawBaseChar - true when base character should be rendered over the changewriteToFile - indicates if writing to a file should be attempted
public java.awt.image.BufferedImage generateComplexVariantView(java.lang.String pathRoot,
ExperimentBean expBean,
ExperimentBean wtExp,
boolean drawBaseChar,
boolean writeToFile)
ChromatogramServiceExperimentBean.getVariantToRender() must not be null
generateComplexVariantView in interface ChromatogramServicepathRoot - directory to write image toexpBean - the variant experiment to use when rendering this variantwtExp - the wildtype experiment to use when rendering this variantdrawBaseChar - true when base character should be rendered over the changewriteToFile - indicates if writing to a file should be attempted
public java.awt.image.BufferedImage generateFullChrom(java.lang.String pathStub,
ExperimentBean expBean,
boolean writeImage,
boolean drawBaseChar)
ChromatogramService
generateFullChrom in interface ChromatogramServicepathStub - directory to write image toexpBean - the experiment containing the chromatogram to be renderedwriteImage - true if the image should be written to filedrawBaseChar - true if the character of the DNA change should be rendered when a variant is provided
public void resetPreviousRendered()
ChromatogramService
resetPreviousRendered in interface ChromatogramService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||