org.apache.myfaces.tobago.taglib.component
Class TabGroupTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by org.apache.myfaces.tobago.taglib.component.TobagoTag
          extended by org.apache.myfaces.tobago.taglib.component.TabGroupTag
All Implemented Interfaces:
JspTag, Tag, TabGroupTagDeclaration, TobagoTagDeclaration, HasBinding, HasDeprecatedDimension, HasDeprecatedHeight, HasDeprecatedWidth, HasId, HasIdBindingAndRendered, IsImmediateCommand, IsRendered

public class TabGroupTag
extends TobagoTag
implements TabGroupTagDeclaration


Field Summary
 
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
TabGroupTag()
           
 
Method Summary
 String getComponentType()
           
 String getShowNavigationBar()
           
 String getTabChangeListener()
           
 void release()
           
 void setImmediate(String immediate)
          Flag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase.
protected  void setProperties(UIComponent component)
           
 void setSelectedIndex(String selectedIndex)
          ValueBindingExpression pointing to a Integer to save the component's selected Tab.
 void setServerside(String serverside)
          Deprecated!
 void setShowNavigationBar(String showNavigationBar)
          Flag indicating that the Tab Navigationbar is rendered.
 void setState(String state)
          ValueBindingExpression pointing to a Integer to save the component's selected Tab.
 void setSwitchType(String switchType)
          Indicating how tab switching should be done.
 void setTabChangeListener(String tabChangeListener)
           
 
Methods inherited from class org.apache.myfaces.tobago.taglib.component.TobagoTag
doEndTag, doStartTag, getDisabled, getHeight, getHidden, getInline, getLabel, getReadonly, getRendererType, getTitle, getWidth, setDisabled, setHeight, setHidden, setInline, setLabel, setReadonly, setTitle, setWidth
 
Methods inherited from class javax.faces.webapp.UIComponentTag
encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, setPageContext, setParent
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasId
setId
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasBinding
setBinding
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.IsRendered
setRendered
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasDeprecatedWidth
setWidth
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasDeprecatedHeight
setHeight
 

Constructor Detail

TabGroupTag

public TabGroupTag()
Method Detail

getComponentType

public String getComponentType()
Specified by:
getComponentType in class UIComponentTag

setProperties

protected void setProperties(UIComponent component)
Overrides:
setProperties in class TobagoTag

release

public void release()
Specified by:
release in interface Tag
Overrides:
release in class TobagoTag

setServerside

public void setServerside(String serverside)
Description copied from interface: TabGroupTagDeclaration
Deprecated! Use 'switchType' instead. Flag indicating that tab switching is done by server request.

Specified by:
setServerside in interface TabGroupTagDeclaration

setState

public void setState(String state)
Description copied from interface: TabGroupTagDeclaration
ValueBindingExpression pointing to a Integer to save the component's selected Tab.

Specified by:
setState in interface TabGroupTagDeclaration

setSelectedIndex

public void setSelectedIndex(String selectedIndex)
Description copied from interface: TabGroupTagDeclaration
ValueBindingExpression pointing to a Integer to save the component's selected Tab.

Specified by:
setSelectedIndex in interface TabGroupTagDeclaration

setSwitchType

public void setSwitchType(String switchType)
Description copied from interface: TabGroupTagDeclaration
Indicating how tab switching should be done.

Possible values are:

client
Tab switching is done on client, no server Request.
reloadPage
Tab switching is done by server request. Full page is reloaded.
reloadTab
Tab switching is done by server request. Only the Tab is reloaded.

Specified by:
setSwitchType in interface TabGroupTagDeclaration
Parameters:
switchType - Sets the switching type.

setImmediate

public void setImmediate(String immediate)
Description copied from interface: IsImmediateCommand
Flag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase.

Specified by:
setImmediate in interface IsImmediateCommand

getShowNavigationBar

public String getShowNavigationBar()

setShowNavigationBar

public void setShowNavigationBar(String showNavigationBar)
Description copied from interface: TabGroupTagDeclaration
Flag indicating that the Tab Navigationbar is rendered.

Specified by:
setShowNavigationBar in interface TabGroupTagDeclaration

getTabChangeListener

public String getTabChangeListener()

setTabChangeListener

public void setTabChangeListener(String tabChangeListener)
Specified by:
setTabChangeListener in interface TabGroupTagDeclaration


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.