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
 java.lang.String getComponentType()
           
 java.lang.String getShowNavigationBar()
           
 java.lang.String getTabChangeListener()
           
 void release()
           
 void setImmediate(java.lang.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(java.lang.String selectedIndex)
          ValueBindingExpression pointing to a Integer to save the component's selected Tab.
 void setServerside(java.lang.String serverside)
          Deprecated!
 void setShowNavigationBar(java.lang.String showNavigationBar)
          Flag indicating that the tab navigation bar is rendered.
 void setState(java.lang.String state)
          ValueBindingExpression pointing to a Integer to save the component's selected Tab.
 void setSwitchType(java.lang.String switchType)
          Indicating how tab switching should be done.
 void setTabChangeListener(java.lang.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 java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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 java.lang.String getShowNavigationBar()

setShowNavigationBar

public void setShowNavigationBar(java.lang.String showNavigationBar)
Description copied from interface: TabGroupTagDeclaration
Flag indicating that the tab navigation bar is rendered.

Specified by:
setShowNavigationBar in interface TabGroupTagDeclaration

getTabChangeListener

public java.lang.String getTabChangeListener()

setTabChangeListener

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


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.