hep.aida.web.taglib
Class TupleProjectionTagSupport

java.lang.Object
  extended by hep.aida.web.taglib.TupleProjectionTagSupport
All Implemented Interfaces:
TupleProjectionTag

public class TupleProjectionTagSupport
extends java.lang.Object
implements TupleProjectionTag

The implementation class for all TupleProjectionTag classes.

Author:
The AIDA team @ SLAC.

Constructor Summary
TupleProjectionTagSupport()
           
 
Method Summary
 void doEndTag(javax.servlet.jsp.PageContext pageContext)
           
 void doStartTag()
           
 java.lang.String getFilter()
           
 java.lang.String getName()
           
 java.lang.String getScope()
           
 hep.aida.ITuple getTuple()
           
 java.lang.String getVar()
           
 int getXbins()
           
 double getXmax()
           
 double getXmin()
           
 java.lang.String getXprojection()
           
 int getYbins()
           
 double getYmax()
           
 double getYmin()
           
 java.lang.String getYprojection()
           
 void setFilter(java.lang.String filter)
          Set the filter.
 void setName(java.lang.String name)
           
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleProjectionTagSupport

public TupleProjectionTagSupport()
Method Detail

doStartTag

public void doStartTag()
                throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

doEndTag

public void doEndTag(javax.servlet.jsp.PageContext pageContext)
              throws javax.servlet.jsp.JspException
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)

getVar

public java.lang.String getVar()

setName

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

getName

public java.lang.String getName()

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)

getScope

public java.lang.String getScope()

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.

getTuple

public hep.aida.ITuple getTuple()

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.

getXprojection

public java.lang.String getXprojection()

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.

getYprojection

public java.lang.String getYprojection()

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.

getFilter

public java.lang.String getFilter()

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.

getXbins

public int getXbins()

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.

getYbins

public int getYbins()

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.

getXmin

public double getXmin()

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.

getXmax

public double getXmax()

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.

getYmin

public double getYmin()

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.

getYmax

public double getYmax()


Copyright 2000-2007 FreeHEP. All Rights Reserved.