hep.aida.web.taglib
Class PlotSetTagSupport

java.lang.Object
  extended by hep.aida.web.taglib.PlotterTagSupport
      extended by hep.aida.web.taglib.PlotSetTagSupport
All Implemented Interfaces:
PlotSetTag, PlotterTag, StyleProvider

public class PlotSetTagSupport
extends PlotterTagSupport
implements PlotSetTag

Author:
The AIDA Team @ SLAC

Field Summary
 
Fields inherited from interface hep.aida.web.taglib.StyleProvider
plotterStyle
 
Constructor Summary
PlotSetTagSupport()
           
 
Method Summary
 void doBodyTag(javax.servlet.jsp.tagext.JspFragment jspBody, javax.servlet.jsp.PageContext pageContext)
          Process nested tags (if any) and/or emulate them
 void doStartTag(javax.servlet.jsp.PageContext pageContext)
          Do initial checks and configure Plotter and Navigation Bar
 java.lang.String getStatusvar()
           
 void setHeight(int height)
          Set the height of the generated image, in pixels.
 void setId(java.lang.String id)
          The id for the browsing when multiple plotSet tags are present in a page.
 void setLayout(java.lang.String layout)
          The layout of the plot page.
 void setMaxplots(int maxPlots)
          The maximum number of plots in a page.
 void setNplots(int nPlots)
          Total number of plots to browse.
 void setPlots(java.lang.Object plots)
          Set objects to plot.
 void setStatusvar(java.lang.String statusVar)
          Set the name of the variable that is going to keep the information about the current status of the PlotSetTag processing.
 void setWidth(int width)
          Set the width of the generated image, in pixels.
 
Methods inherited from class hep.aida.web.taglib.PlotterTagSupport
createRegion, doEndTag, getCreateImageMap, getFormat, getHeight, getName, getNx, getNy, getPlotter, getPlotterFactory, getStyle, getStyle, getVar, getWidth, isAllowDownload, isNxOrNySet, numberOfRegions, regionTagSupport, setAllowDownload, setCreateImageMap, setFormat, setName, setNx, setNy, setVar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hep.aida.web.taglib.PlotterTag
setAllowDownload, setCreateImageMap, setFormat, setName, setNx, setNy, setVar
 
Methods inherited from interface hep.aida.web.taglib.StyleProvider
getStyle, getStyle
 

Constructor Detail

PlotSetTagSupport

public PlotSetTagSupport()
Method Detail

doStartTag

public void doStartTag(javax.servlet.jsp.PageContext pageContext)
                throws javax.servlet.jsp.JspException
Do initial checks and configure Plotter and Navigation Bar

Overrides:
doStartTag in class PlotterTagSupport
Throws:
javax.servlet.jsp.JspException

doBodyTag

public void doBodyTag(javax.servlet.jsp.tagext.JspFragment jspBody,
                      javax.servlet.jsp.PageContext pageContext)
               throws javax.servlet.jsp.JspException,
                      java.io.IOException
Process nested tags (if any) and/or emulate them

Throws:
javax.servlet.jsp.JspException
java.io.IOException

setPlots

public void setPlots(java.lang.Object plots)
Description copied from interface: PlotSetTag
Set objects to plot. Can be an array of plottable objects, a single plottable object, or a String name that refferes to such object. It is required if "nplots" attribute is not set.

Specified by:
setPlots in interface PlotSetTag

setNplots

public void setNplots(int nPlots)
Description copied from interface: PlotSetTag
Total number of plots to browse. It is required if "plots" attribute is not set.

Specified by:
setNplots in interface PlotSetTag

setMaxplots

public void setMaxplots(int maxPlots)
Description copied from interface: PlotSetTag
The maximum number of plots in a page.

Specified by:
setMaxplots in interface PlotSetTag

setId

public void setId(java.lang.String id)
Description copied from interface: PlotSetTag
The id for the browsing when multiple plotSet tags are present in a page.

Specified by:
setId in interface PlotSetTag

setLayout

public void setLayout(java.lang.String layout)
Description copied from interface: PlotSetTag
The layout of the plot page. Must be in a form of "nHxnW", "3x4" means 3 plots in Height direction, 4 plots in Width direction.

Specified by:
setLayout in interface PlotSetTag

setStatusvar

public void setStatusvar(java.lang.String statusVar)
Description copied from interface: PlotSetTag
Set the name of the variable that is going to keep the information about the current status of the PlotSetTag processing.

Specified by:
setStatusvar in interface PlotSetTag

getStatusvar

public java.lang.String getStatusvar()

setWidth

public void setWidth(int width)
Description copied from interface: PlotterTag
Set the width of the generated image, in pixels.

Specified by:
setWidth in interface PlotterTag
Overrides:
setWidth in class PlotterTagSupport

setHeight

public void setHeight(int height)
Description copied from interface: PlotterTag
Set the height of the generated image, in pixels.

Specified by:
setHeight in interface PlotterTag
Overrides:
setHeight in class PlotterTagSupport


Copyright 2000-2007 FreeHEP. All Rights Reserved.