com.opensymphony.webwork.views.jsp.ui
Class TabbedPaneTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.opensymphony.webwork.views.jsp.WebWorkTagSupport
          extended bycom.opensymphony.webwork.views.jsp.ParameterizedTagSupport
              extended bycom.opensymphony.webwork.views.jsp.ui.AbstractUITag
                  extended bycom.opensymphony.webwork.views.jsp.ui.ComponentTag
                      extended bycom.opensymphony.webwork.views.jsp.ui.TabbedPaneTag
All Implemented Interfaces:
IterationTag, ParamTag.Parametric, Serializable, Tag

public class TabbedPaneTag
extends ComponentTag

TabbedPane tag.

Version:
$Revision: 1.8 $
Author:
Onyeje Bose (digi9ten@yahoo.com)
See Also:
Serialized Form

Field Summary
protected  String contentName
           
protected  TabbedPane tabPane
           
 
Fields inherited from class com.opensymphony.webwork.views.jsp.ui.AbstractUITag
cssClassAttr, cssStyleAttr, disabledAttr, labelAttr, labelPositionAttr, nameAttr, onblurAttr, onchangeAttr, onclickAttr, ondblclickAttr, onfocusAttr, onkeydownAttr, onkeypressAttr, onkeyupAttr, onmousedownAttr, onmousemoveAttr, onmouseoutAttr, onmouseoverAttr, onmouseupAttr, onselectAttr, requiredAttr, tabindexAttr, templateAttr, templateDir, theme, themeAttr, valueAttr
 
Fields inherited from class com.opensymphony.webwork.views.jsp.ParameterizedTagSupport
log
 
Fields inherited from class com.opensymphony.webwork.views.jsp.WebWorkTagSupport
ALT_SYNTAX
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
TabbedPaneTag()
           
 
Method Summary
 boolean compareNumbers(Number n1, Number n2)
           
 int doStartTag()
           
 int getColSpanLength()
           
 Vector getContent()
           
 String getContentName()
           
protected  String getDefaultTemplate()
          A contract that requires each concrete UI Tag to specify which template should be used as a default.
 String getIndexLink()
           
 int getSelectedIndex()
           
 String getSelectedUrl()
           
 String getTabAlign()
           
 void release()
           
 void setContent(Vector content)
           
 void setContentName(String contentName)
           
 void setPageContext(PageContext aPageContext)
           
 void setSelectedIndex(int selectedIndex)
           
 void setTabAlign(String tabAlign)
           
protected  String strVal(String objName)
           
 
Methods inherited from class com.opensymphony.webwork.views.jsp.ui.AbstractUITag
buildTemplateName, doEndTag, evaluateExtraParams, evaluateNameValue, evaluateParams, getTemplateDir, getTemplateName, getTheme, getValueClassType, mergeTemplate, setCssClass, setCssStyle, setDisabled, setLabel, setLabelposition, setName, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setRequired, setTabindex, setTemplate, setTheme, setValue
 
Methods inherited from class com.opensymphony.webwork.views.jsp.ParameterizedTagSupport
addParameter, getParameters, reset
 
Methods inherited from class com.opensymphony.webwork.views.jsp.WebWorkTagSupport
findString, findValue, findValue, getStack, toString, translateVariables
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contentName

protected String contentName

tabPane

protected TabbedPane tabPane
Constructor Detail

TabbedPaneTag

public TabbedPaneTag()
Method Detail

getColSpanLength

public int getColSpanLength()

setContent

public void setContent(Vector content)

getContent

public Vector getContent()

setContentName

public void setContentName(String contentName)

getContentName

public String getContentName()

getIndexLink

public String getIndexLink()

setPageContext

public void setPageContext(PageContext aPageContext)

setSelectedIndex

public void setSelectedIndex(int selectedIndex)

getSelectedIndex

public int getSelectedIndex()

getSelectedUrl

public String getSelectedUrl()

setTabAlign

public void setTabAlign(String tabAlign)

getTabAlign

public String getTabAlign()

compareNumbers

public boolean compareNumbers(Number n1,
                              Number n2)

doStartTag

public int doStartTag()
               throws JspException
Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class AbstractUITag
Throws:
JspException

release

public void release()

getDefaultTemplate

protected String getDefaultTemplate()
Description copied from class: AbstractUITag
A contract that requires each concrete UI Tag to specify which template should be used as a default. For example, the CheckboxTab might return "checkbox.vm" while the RadioTag might return "radio.vm". This value not begin with a '/' unless you intend to make the path absolute rather than relative to the current theme.

Overrides:
getDefaultTemplate in class ComponentTag

strVal

protected String strVal(String objName)

WebWork Project Page