hep.aida.web.taglib
Class DataPointSetTagSupport

java.lang.Object
  extended by hep.aida.web.taglib.DataPointSetTagSupport
All Implemented Interfaces:
DataPointSetTag

public class DataPointSetTagSupport
extends java.lang.Object
implements DataPointSetTag

The implementation class for all DataPointSetTagclasses.

Author:
The AIDA Team @ SLAC

Constructor Summary
DataPointSetTagSupport()
           
 
Method Summary
 void doEndTag(javax.servlet.jsp.PageContext pageContext)
           
 void doStartTag()
           
 java.lang.String getScope()
           
 java.lang.String getTitle()
           
 java.lang.Object getTuple()
           
 java.lang.String getVar()
           
 java.lang.String getXaxisColumn()
           
 java.lang.String getYaxisColumn()
           
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataPointSetTagSupport

public DataPointSetTagSupport()
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: 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)

getVar

public java.lang.String getVar()

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)

getScope

public java.lang.String getScope()

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

getTuple

public java.lang.Object getTuple()

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)

getXaxisColumn

public java.lang.String getXaxisColumn()

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)

getYaxisColumn

public java.lang.String getYaxisColumn()

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

getTitle

public java.lang.String getTitle()


Copyright 2000-2007 FreeHEP. All Rights Reserved.