hep.aida.web.taglib.jsp20
Class PlotTagImpl

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

public class PlotTagImpl
extends javax.servlet.jsp.tagext.SimpleTagSupport
implements PlotTag

Author:
The AIDA Team @ SLAC

Field Summary
 
Fields inherited from interface hep.aida.web.taglib.StyleProvider
plotterStyle
 
Constructor Summary
PlotTagImpl()
           
 
Method Summary
 void doTag()
           
 PlotTagSupport getPlotTagSupport()
           
 hep.aida.IBaseStyle getStyle()
           
 hep.aida.IBaseStyle getStyle(java.lang.String type)
           
 void setVar(java.lang.Object var)
          Set the object to plot.
 
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

PlotTagImpl

public PlotTagImpl()
Method Detail

getPlotTagSupport

public PlotTagSupport getPlotTagSupport()

doTag

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

setVar

public void setVar(java.lang.Object var)
Description copied from interface: PlotTag
Set the object to plot. This must either be an IManagedObjector the name of a variable in a JSP scope holding an IManagedObject.

Specified by:
setVar in interface PlotTag
Parameters:
var - the object to plot, which must be an IManagedObject

getStyle

public hep.aida.IBaseStyle getStyle()
                             throws javax.servlet.jsp.JspException
Specified by:
getStyle in interface StyleProvider
Throws:
javax.servlet.jsp.JspException

getStyle

public hep.aida.IBaseStyle getStyle(java.lang.String type)
                             throws javax.servlet.jsp.JspException
Specified by:
getStyle in interface StyleProvider
Throws:
javax.servlet.jsp.JspException


Copyright 2000-2007 FreeHEP. All Rights Reserved.