hep.aida.web.taglib
Class StyleTagSupport

java.lang.Object
  extended by hep.aida.web.taglib.StyleTagSupport
All Implemented Interfaces:
StyleProvider, StyleTag

public class StyleTagSupport
extends java.lang.Object
implements StyleTag

The implementation class for all StyleTag classes.

Author:
The AIDA Team @ SLAC.

Field Summary
 
Fields inherited from interface hep.aida.web.taglib.StyleProvider
plotterStyle
 
Constructor Summary
StyleTagSupport()
           
 
Method Summary
 void addAttribute(java.lang.String name, java.lang.String value)
          Called by subordinate tags.
 void doStartTag(StyleProvider styleProvider)
           
 hep.aida.IBaseStyle getStyle()
           
 hep.aida.IBaseStyle getStyle(java.lang.String type)
           
 java.lang.String getType()
           
 void setType(java.lang.String type)
          Set the optional AIDA style type (xAxis, yAxis, etc).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleTagSupport

public StyleTagSupport()
Method Detail

doStartTag

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

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

getType

public java.lang.String getType()

addAttribute

public void addAttribute(java.lang.String name,
                         java.lang.String value)
                  throws javax.servlet.jsp.JspException
Called by subordinate tags.

Parameters:
name - The name of the AIDA style attibute
value - The value of the AIDA style attibute
Throws:
javax.servlet.jsp.JspException

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.