hep.aida.web.taglib.jsp20
Class TupleProjectionTagImpl

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by hep.aida.web.taglib.jsp20.TupleProjectionTagImpl
All Implemented Interfaces:
TupleProjectionTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class TupleProjectionTagImpl
extends javax.servlet.jsp.tagext.SimpleTagSupport
implements TupleProjectionTag

Author:
The AIDA team @ SLAC.

Constructor Summary
TupleProjectionTagImpl()
           
 
Method Summary
 void doTag()
           
 TupleProjectionTagSupport getTupleProjectionTagSupport()
           
 void setFilter(java.lang.String filter)
          Set the filter.
 void setName(java.lang.String var)
           
 void setScope(java.lang.String scope)
          Set the scope of the output variable.
 void setTuple(hep.aida.ITuple tuple)
          Set the ITuplefrom which to make the projection.
 void setVar(java.lang.String var)
          Set the name of the output variable for the projection; it is an IManagedObject.
 void setXbins(int xbins)
          Set the number of bins along the x on the projection.
 void setXmax(double xmax)
          Set the upper edge along x.
 void setXmin(double xmin)
          Set the lower edge along x.
 void setXprojection(java.lang.String xproj)
          Set the x projection.
 void setYbins(int ybins)
          Set the number of bins along the y on the projection.
 void setYmax(double ymax)
          Set the upper edge along y.
 void setYmin(double ymin)
          Set the lower edge along y.
 void setYprojection(java.lang.String yproj)
          Set the y projection.
 
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

TupleProjectionTagImpl

public TupleProjectionTagImpl()
Method Detail

getTupleProjectionTagSupport

public TupleProjectionTagSupport getTupleProjectionTagSupport()

doTag

public void doTag()
           throws javax.servlet.jsp.JspException
Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
Throws:
javax.servlet.jsp.JspException

setVar

public void setVar(java.lang.String var)
Description copied from interface: TupleProjectionTag
Set the name of the output variable for the projection; it is an IManagedObject. This is a required attribute. If the scope is not specified (see TupleProjectionTag.setScope(String)) then the projection will be stored in page scope.

Specified by:
setVar in interface TupleProjectionTag
Parameters:
var - the name of the output variable
See Also:
TupleProjectionTag.setScope(String)

setName

public void setName(java.lang.String var)
Specified by:
setName in interface TupleProjectionTag

setScope

public void setScope(java.lang.String scope)
Description copied from interface: TupleProjectionTag
Set the scope of the output variable. This is an optional attribute, and can be one of page,request, session or application. The default is page.

Specified by:
setScope in interface TupleProjectionTag
Parameters:
scope - scope of the output variable
See Also:
TupleProjectionTag.setVar(String)

setXbins

public void setXbins(int xbins)
Description copied from interface: TupleProjectionTag
Set the number of bins along the x on the projection.

Specified by:
setXbins in interface TupleProjectionTag
Parameters:
xbins - The number of bins on the x axis.

setYbins

public void setYbins(int ybins)
Description copied from interface: TupleProjectionTag
Set the number of bins along the y on the projection.

Specified by:
setYbins in interface TupleProjectionTag
Parameters:
ybins - The number of bins on the y axis.

setTuple

public void setTuple(hep.aida.ITuple tuple)
Description copied from interface: TupleProjectionTag
Set the ITuplefrom which to make the projection. This is a required attribute.

Specified by:
setTuple in interface TupleProjectionTag
Parameters:
tuple - the ITupleto project.

setXprojection

public void setXprojection(java.lang.String xproj)
Description copied from interface: TupleProjectionTag
Set the x projection. This is a required attribute.

Specified by:
setXprojection in interface TupleProjectionTag
Parameters:
xproj - the value to project.

setYprojection

public void setYprojection(java.lang.String yproj)
Description copied from interface: TupleProjectionTag
Set the y projection.

Specified by:
setYprojection in interface TupleProjectionTag
Parameters:
yproj - the value to project.

setFilter

public void setFilter(java.lang.String filter)
Description copied from interface: TupleProjectionTag
Set the filter.

Specified by:
setFilter in interface TupleProjectionTag
Parameters:
filter - the filter for the projection.

setXmin

public void setXmin(double xmin)
Description copied from interface: TupleProjectionTag
Set the lower edge along x.

Specified by:
setXmin in interface TupleProjectionTag
Parameters:
xmin - The lower edge along x.

setXmax

public void setXmax(double xmax)
Description copied from interface: TupleProjectionTag
Set the upper edge along x.

Specified by:
setXmax in interface TupleProjectionTag
Parameters:
xmax - The upper edge along x.

setYmin

public void setYmin(double ymin)
Description copied from interface: TupleProjectionTag
Set the lower edge along y.

Specified by:
setYmin in interface TupleProjectionTag
Parameters:
ymin - The lower edge along y.

setYmax

public void setYmax(double ymax)
Description copied from interface: TupleProjectionTag
Set the upper edge along y.

Specified by:
setYmax in interface TupleProjectionTag
Parameters:
ymax - The upper edge along y.


Copyright 2000-2007 FreeHEP. All Rights Reserved.