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 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(String height) |
void |
setPlotServler(String servletPath) |
void |
setWidth(String width) |
getDynamicActionAttributes, getParameter, getScripts, getStylesheets, prepareContext, setParameter, setScript, setStylesheet
private 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(String servletPath)
public void setWidth(String width)
public void setHeight(String height)