hep.aida.web.taglib
Interface PlotterTag

All Superinterfaces:
StyleProvider
All Known Subinterfaces:
PlotSetTag
All Known Implementing Classes:
PlotSetTagImpl, PlotSetTagSupport, PlotterTagImpl, PlotterTagSupport

public interface PlotterTag
extends StyleProvider

A top level tag which generates an image containing one or more plots.

Author:
The AIDA Team @ SLAC

Field Summary
 
Fields inherited from interface hep.aida.web.taglib.StyleProvider
plotterStyle
 
Method Summary
 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(java.lang.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(java.lang.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(java.lang.Object var)
          Set the plotter to translate into an image.
 void setWidth(int width)
          Set the width of the generated image, in pixels.
 
Methods inherited from interface hep.aida.web.taglib.StyleProvider
getStyle, getStyle
 

Method Detail

setName

void setName(java.lang.String name)
Set the name for the generated plot. This is an optional attribute. If it is not present then a unique name is automatically generated.


setWidth

void setWidth(int width)
Set the width of the generated image, in pixels.


setHeight

void setHeight(int height)
Set the height of the generated image, in pixels.


setNx

void setNx(int nx)
Set the number of horizontal cells in the region grid.


setNy

void setNy(int ny)
Set the number of vertical cells in the region grid.


setFormat

void setFormat(java.lang.String format)
Set the default format to use for the generated image. Possible values are png, gif, jpg, pdf, eps, svg, and swf.


setAllowDownload

void setAllowDownload(boolean allowDownload)
Set whether to display links below the generated image to allow downloading in other formats.


setCreateImageMap

void setCreateImageMap(boolean createImageMap)
Set whether to create an image map on top of the plot; each region has a link.


setVar

void setVar(java.lang.Object var)
Set the plotter to translate into an image. This can be an instance of 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.



Copyright 2000-2007 FreeHEP. All Rights Reserved.