hep.aida.web.taglib.jsp20
Class StyleTagImpl

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

public class StyleTagImpl
extends javax.servlet.jsp.tagext.SimpleTagSupport
implements StyleTag

Author:
The AIDA Team @ SLAC

Field Summary
 
Fields inherited from interface hep.aida.web.taglib.StyleProvider
plotterStyle
 
Constructor Summary
StyleTagImpl()
           
 
Method Summary
 void doTag()
           
 hep.aida.IBaseStyle getStyle()
           
 hep.aida.IBaseStyle getStyle(java.lang.String type)
           
 StyleTagSupport getStyleTagSupport()
           
 void setType(java.lang.String type)
          Set the optional AIDA style type (xAxis, yAxis, etc).
 
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

StyleTagImpl

public StyleTagImpl()
Method Detail

getStyleTagSupport

public StyleTagSupport getStyleTagSupport()

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

setType

public void setType(java.lang.String type)
Description copied from interface: StyleTag
Set the optional AIDA style type (xAxis, yAxis, etc). This attribute is optional, and only used when one style is nested within another. Legal values depend on the context. For example, for a style inside a region tag, legal types are xAxis, yAxis. See the examples and AIDA documentation for more details.

Specified by:
setType in interface StyleTag

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.