Class UITabGroup

  • All Implemented Interfaces:
    EventListener, javax.faces.component.ActionSource, javax.faces.component.ActionSource2, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, Visual, TabChangeSource, TobagoActionSource

    @Generated("component.stg")
    public class UITabGroup
    extends AbstractUITabGroup
    Renders a tab group which contains tab panels. UIComponent class, generated from template component.stg with class TabGroupTagDeclaration.
    • Constructor Detail

      • UITabGroup

        public UITabGroup()
    • Method Detail

      • getEventNames

        public Collection<String> getEventNames()
        Specified by:
        getEventNames in interface javax.faces.component.behavior.ClientBehaviorHolder
        Overrides:
        getEventNames in class javax.faces.component.UIComponentBase
      • getDefaultEventName

        public String getDefaultEventName()
        Specified by:
        getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHolder
        Overrides:
        getDefaultEventName in class javax.faces.component.UIComponentBase
      • getFamily

        public String getFamily()
        Overrides:
        getFamily in class javax.faces.component.UIPanel
      • getActionListenerExpression

        public javax.el.MethodExpression getActionListenerExpression()
      • setActionListenerExpression

        public void setActionListenerExpression​(javax.el.MethodExpression actionListener)
      • getSwitchType

        public SwitchType getSwitchType()

        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.

        Default: client
        Allowed Values: client,reloadPage,reloadTab
        Specified by:
        getSwitchType in class AbstractUITabGroup
      • setSwitchType

        public void setSwitchType​(SwitchType switchType)
      • getTabChangeListenerExpression

        public javax.el.MethodExpression getTabChangeListenerExpression()
      • setTabChangeListenerExpression

        public void setTabChangeListenerExpression​(javax.el.MethodExpression tabChangeListener)
      • getMarkup

        public Markup getMarkup()
      • setMarkup

        public void setMarkup​(Markup markup)
      • isImmediate

        public boolean isImmediate()
        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.
        Default: false
      • setImmediate

        public void setImmediate​(boolean immediate)
      • getActionExpression

        public javax.el.MethodExpression getActionExpression()
      • setActionExpression

        public void setActionExpression​(javax.el.MethodExpression action)
      • getCustomClass

        public CustomClass getCustomClass()
        Sets a CSS class in its parent, if the parent supports it. Which this feature it is possible to put a CSS class name into a component with the <tc:style> tag. Example:
           <tc:in>
             <tc:style customClass="my-emphasized"/>
           </tc:in>
           
        One capability is, to used external CSS libs.
        This feature should not be used imprudent. Because it might be unstable against changes in the renderered HTML code.
      • setCustomClass

        public void setCustomClass​(CustomClass customClass)
      • isShowNavigationBar

        public boolean isShowNavigationBar()
        Flag indicating that the tab navigation bar is rendered.
        Default: true
        Specified by:
        isShowNavigationBar in class AbstractUITabGroup
      • setShowNavigationBar

        public void setShowNavigationBar​(boolean showNavigationBar)
      • setTip

        public void setTip​(String tip)
      • getSelectedIndex

        public Integer getSelectedIndex()
        ValueBindingExpression pointing to a Integer to save the component's selected Tab.
        Default: 0
        Specified by:
        getSelectedIndex in class AbstractUITabGroup
      • restoreState

        public void restoreState​(javax.faces.context.FacesContext context,
                                 Object state)
        Specified by:
        restoreState in interface javax.faces.component.StateHolder
        Overrides:
        restoreState in class javax.faces.component.UIComponentBase