com.mycompany.jsf.taglib
Class PanelTabbedTag

java.lang.Object
  extended byjavax.faces.webapp.UIComponentTag
      extended bycom.mycompany.jsf.taglib.PanelTabbedTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag

public class PanelTabbedTag
extends javax.faces.webapp.UIComponentTag

This class is a tag handler that creates and configures a "javax.faces.Panel" component with a "com.mycompany.Tabbed" renderer.

Version:
1.0
Author:
Hans Bergsten, Gefion Software

Field Summary
private  java.lang.String labelAreaClass
           
private  java.lang.String selectedLabelClass
           
private  java.lang.String unselectedLabelClass
           
 
Fields inherited from class javax.faces.webapp.UIComponentTag
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
PanelTabbedTag()
           
 
Method Summary
 java.lang.String getComponentType()
          Returns "javax.facet.Panel".
 java.lang.String getRendererType()
          Returns "com.mycompany.Tabbed".
 void setLabelAreaClass(java.lang.String labelAreaClass)
          Sets the CSS class used for the rendered "table" element holding the cells with labels.
protected  void setProperties(javax.faces.component.UIComponent component)
          Configures the component based on the tag handler property values.
 void setSelectedLabelClass(java.lang.String selectedLabelClass)
          Sets the CSS class used for the "td" element holding the currently selected "label" facet.
 void setUnselectedLabelClass(java.lang.String unselectedLabelClass)
          Sets the CSS class used for the "td" element holding the "label" facets other than the selected facet.
 
Methods inherited from class javax.faces.webapp.UIComponentTag
doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, release, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

labelAreaClass

private java.lang.String labelAreaClass

selectedLabelClass

private java.lang.String selectedLabelClass

unselectedLabelClass

private java.lang.String unselectedLabelClass
Constructor Detail

PanelTabbedTag

public PanelTabbedTag()
Method Detail

setLabelAreaClass

public void setLabelAreaClass(java.lang.String labelAreaClass)
Sets the CSS class used for the rendered "table" element holding the cells with labels.


setSelectedLabelClass

public void setSelectedLabelClass(java.lang.String selectedLabelClass)
Sets the CSS class used for the "td" element holding the currently selected "label" facet.


setUnselectedLabelClass

public void setUnselectedLabelClass(java.lang.String unselectedLabelClass)
Sets the CSS class used for the "td" element holding the "label" facets other than the selected facet.


getComponentType

public java.lang.String getComponentType()
Returns "javax.facet.Panel".


getRendererType

public java.lang.String getRendererType()
Returns "com.mycompany.Tabbed".


setProperties

protected void setProperties(javax.faces.component.UIComponent component)
Configures the component based on the tag handler property values.