|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthep.aida.web.taglib.PlotterTagSupport
public class PlotterTagSupport
The implementation class for all PlotterTag classes.
Field Summary |
---|
Fields inherited from interface hep.aida.web.taglib.StyleProvider |
---|
plotterStyle |
Constructor Summary | |
---|---|
PlotterTagSupport()
|
Method Summary | |
---|---|
hep.aida.IPlotterRegion |
createRegion(double x,
double y,
double width,
double height,
int rowSpan,
int colSpan,
RegionTagSupport regionTagSupport)
|
void |
doEndTag(javax.servlet.jsp.PageContext pageContext)
|
void |
doStartTag(javax.servlet.jsp.PageContext pageContext)
|
boolean |
getCreateImageMap()
|
String |
getFormat()
|
int |
getHeight()
|
String |
getName()
|
int |
getNx()
|
int |
getNy()
|
String |
getPlotNameVar()
|
hep.aida.IPlotter |
getPlotter()
|
hep.aida.IPlotterFactory |
getPlotterFactory()
|
hep.aida.IBaseStyle |
getStyle()
|
hep.aida.IBaseStyle |
getStyle(String type)
|
Object |
getVar()
|
int |
getWidth()
|
boolean |
isAllowDownload()
|
boolean |
isNxOrNySet()
|
int |
numberOfRegions()
Get the number of regions |
RegionTagSupport |
regionTagSupport(int i)
The the ith RegionTagSupport |
void |
setAllowDownload(boolean allowDownload)
Set whether to display links below the generated image to allow downloading in other formats. |
void |
setCreateImageMap(boolean createImageMap)
Set whether to create an image map on top of the plot; each region has a link. |
void |
setFormat(String format)
Set the default format to use for the generated image. |
void |
setHeight(int height)
Set the height of the generated image, in pixels. |
void |
setName(String name)
Set the name for the generated plot. |
void |
setNx(int nx)
Set the number of horizontal cells in the region grid. |
void |
setNy(int ny)
Set the number of vertical cells in the region grid. |
void |
setPlotNameVar(String plotName)
|
void |
setVar(Object plotter)
Set the plotter to translate into an image. |
void |
setWidth(int width)
Set the width of the generated image, in pixels. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlotterTagSupport()
Method Detail |
---|
public hep.aida.IPlotterFactory getPlotterFactory()
public void doStartTag(javax.servlet.jsp.PageContext pageContext) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public void doEndTag(javax.servlet.jsp.PageContext pageContext) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public hep.aida.IPlotterRegion createRegion(double x, double y, double width, double height, int rowSpan, int colSpan, RegionTagSupport regionTagSupport)
public void setName(String name)
PlotterTag
setName
in interface PlotterTag
public String getName()
public void setWidth(int width)
PlotterTag
setWidth
in interface PlotterTag
public int getWidth()
public void setHeight(int height)
PlotterTag
setHeight
in interface PlotterTag
public int getHeight()
public void setNx(int nx)
PlotterTag
setNx
in interface PlotterTag
public int getNx()
public void setNy(int ny)
PlotterTag
setNy
in interface PlotterTag
public int getNy()
public void setFormat(String format)
PlotterTag
setFormat
in interface PlotterTag
public String getFormat()
public void setAllowDownload(boolean allowDownload)
PlotterTag
setAllowDownload
in interface PlotterTag
public boolean isAllowDownload()
public void setCreateImageMap(boolean createImageMap)
PlotterTag
setCreateImageMap
in interface PlotterTag
public boolean getCreateImageMap()
public void setVar(Object plotter)
PlotterTag
IPlotter
, or the name of a variable in a JSP scope holding an
IPlotter
. This is an optional attribute. The IPlotter
generated by any nested <region>
and
<plot>
tags will take precedence.
setVar
in interface PlotterTag
public Object getVar()
public void setPlotNameVar(String plotName)
public String getPlotNameVar()
public hep.aida.IPlotter getPlotter()
public hep.aida.IBaseStyle getStyle() throws javax.servlet.jsp.JspException
getStyle
in interface StyleProvider
javax.servlet.jsp.JspException
public hep.aida.IBaseStyle getStyle(String type) throws javax.servlet.jsp.JspException
getStyle
in interface StyleProvider
javax.servlet.jsp.JspException
public boolean isNxOrNySet()
public RegionTagSupport regionTagSupport(int i)
public int numberOfRegions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |