public class MAPlotFactory extends AbstractJspActionFactory<OverviewPlotAction>
If the conditions are fulfilled the factory generates MA plots
for each bioassay in the bioassay set. The image generation
is handled by the standard plot servlet: PlotServlet
.
If the bioassay set is not a root bioassayset the factory also generates correction factor plots.
Modifier and Type | Field and Description |
---|---|
private int |
height |
private java.lang.String |
servletPath |
private int |
width |
Constructor and Description |
---|
MAPlotFactory() |
Modifier and Type | Method and Description |
---|---|
OverviewPlotAction[] |
getActions(InvokationContext<? super OverviewPlotAction> context)
This method may be called one or several times for each request.
|
boolean |
prepareContext(InvokationContext<? super OverviewPlotAction> context)
Checks if the bioassay set has 2-channel data in the database.
|
void |
setHeight(java.lang.String height) |
void |
setPlotServler(java.lang.String servletPath) |
void |
setWidth(java.lang.String width) |
getDynamicActionAttributes, getParameter, getScripts, getStylesheets, prepareContext, setParameter, setScript, setStylesheet
private java.lang.String servletPath
private int width
private int height
public boolean prepareContext(InvokationContext<? super OverviewPlotAction> context)
prepareContext
in interface ActionFactory<OverviewPlotAction>
prepareContext
in class AbstractJspActionFactory<OverviewPlotAction>
context
- The current invokation contextpublic OverviewPlotAction[] getActions(InvokationContext<? super OverviewPlotAction> context)
ActionFactory
context
- The current invokation context@VariableSetter @PathSetter public void setPlotServler(java.lang.String servletPath)
public void setWidth(java.lang.String width)
public void setHeight(java.lang.String height)