hep.aida.web.taglib
Class StyleTagSupport
java.lang.Object
hep.aida.web.taglib.StyleTagSupport
- All Implemented Interfaces:
- StyleProvider, StyleTag
public class StyleTagSupport
- extends Object
- implements StyleTag
The implementation class for all StyleTag classes.
- Author:
- The AIDA Team @ SLAC.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StyleTagSupport
public StyleTagSupport()
doStartTag
public void doStartTag(StyleProvider styleProvider)
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
setType
public void setType(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 String getType()
addAttribute
public void addAttribute(String name,
String value)
throws javax.servlet.jsp.JspException
- Called by subordinate tags.
- Parameters:
name
- The name of the AIDA style attibutevalue
- 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(String type)
throws javax.servlet.jsp.JspException
- Specified by:
getStyle
in interface StyleProvider
- Throws:
javax.servlet.jsp.JspException
Copyright © 2000-2006 FreeHEP. All Rights Reserved.