|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.SimpleTagSupport
hep.aida.web.taglib.jsp20.PlotterTagImpl
public class PlotterTagImpl
Constructor Summary | |
---|---|
PlotterTagImpl()
|
Method Summary | |
---|---|
void |
doTag()
|
boolean |
getCreateImageMap()
|
hep.aida.IBaseStyle |
getStyle()
|
hep.aida.IBaseStyle |
getStyle(String type)
|
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 |
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 javax.servlet.jsp.tagext.SimpleTagSupport |
---|
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlotterTagImpl()
Method Detail |
---|
public void doTag() throws javax.servlet.jsp.JspException, IOException
doTag
in interface javax.servlet.jsp.tagext.SimpleTag
doTag
in class javax.servlet.jsp.tagext.SimpleTagSupport
javax.servlet.jsp.JspException
IOException
public void setName(String name)
PlotterTag
setName
in interface PlotterTag
public void setWidth(int width)
PlotterTag
setWidth
in interface PlotterTag
public void setHeight(int height)
PlotterTag
setHeight
in interface PlotterTag
public void setNx(int nx)
PlotterTag
setNx
in interface PlotterTag
public void setNy(int ny)
PlotterTag
setNy
in interface PlotterTag
public void setFormat(String format)
PlotterTag
setFormat
in interface PlotterTag
public void setAllowDownload(boolean allowDownload)
PlotterTag
setAllowDownload
in interface PlotterTag
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 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 void setCreateImageMap(boolean createImageMap)
PlotterTag
setCreateImageMap
in interface PlotterTag
public boolean getCreateImageMap()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |