hep.aida.web.taglib.jsp20
Class DataPointSetTagImpl

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

public class DataPointSetTagImpl
extends javax.servlet.jsp.tagext.SimpleTagSupport
implements DataPointSetTag

Author:
The AIDA team @ SLAC.

Constructor Summary
DataPointSetTagImpl()
           
 
Method Summary
 void doTag()
           
 DataPointSetTagSupport getDataPointSetTagSupport()
           
 void setScope(java.lang.String scope)
          Set the scope of the output variable.
 void setTitle(java.lang.String title)
          Set the title of the DataPointSet.
 void setTuple(java.lang.Object tuple)
          Set the ITupleused to fill the IDataPointSet.
 void setVar(java.lang.String var)
          Set the name of the output variable for the IDataPointSet.
 void setXaxisColumn(java.lang.String xAxisColumn)
          Set the column name from the ITupleto use for the x-axis values.
 void setYaxisColumn(java.lang.String yAxisColumn)
          Set the column name from the ITupleto use for the y-axis values.
 
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

DataPointSetTagImpl

public DataPointSetTagImpl()
Method Detail

getDataPointSetTagSupport

public DataPointSetTagSupport getDataPointSetTagSupport()

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: DataPointSetTag
Set the name of the output variable for the IDataPointSet. This is a required attribute. If the scope is not specified (see DataPointSetTag.setScope(String)) then the ITuplewill be stored in page scope.

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

setScope

public void setScope(java.lang.String scope)
Description copied from interface: DataPointSetTag
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 DataPointSetTag
Parameters:
scope - scope of the output variable
See Also:
DataPointSetTag.setVar(String)

setTuple

public void setTuple(java.lang.Object tuple)
Description copied from interface: DataPointSetTag
Set the ITupleused to fill the IDataPointSet. This can be an instance of IDataPointSet, or the name of a variable in a JSP scope holding an IDataPointSet.

Specified by:
setTuple in interface DataPointSetTag
Parameters:
tuple - the ITupleused to fill the IDataPointSet

setXaxisColumn

public void setXaxisColumn(java.lang.String xAxisColumn)
Description copied from interface: DataPointSetTag
Set the column name from the ITupleto use for the x-axis values. This is a required attribute.

Specified by:
setXaxisColumn in interface DataPointSetTag
Parameters:
xAxisColumn - the column name from the ITupleto use for the x-axis values.
See Also:
DataPointSetTag.setTuple(Object)

setYaxisColumn

public void setYaxisColumn(java.lang.String yAxisColumn)
Description copied from interface: DataPointSetTag
Set the column name from the ITupleto use for the y-axis values. This is a required attribute.

Specified by:
setYaxisColumn in interface DataPointSetTag
Parameters:
yAxisColumn - the column name from the ITupleto use for the y-axis values.
See Also:
DataPointSetTag.setTuple(Object)

setTitle

public void setTitle(java.lang.String title)
Description copied from interface: DataPointSetTag
Set the title of the DataPointSet.

Specified by:
setTitle in interface DataPointSetTag
Parameters:
title - the title of the IDataPointSet


Copyright 2000-2007 FreeHEP. All Rights Reserved.