Class UITabGroup

java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
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.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, SupportsAutoSpacing, 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.
  • Field Details

  • Constructor Details

    • UITabGroup

      public UITabGroup()
  • Method Details

    • 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
    • getRenderedIndex

      public Integer getRenderedIndex()
      For internal use. TBD: Check if this is needed any longer.
      Default: 0
      Specified by:
      getRenderedIndex in class AbstractUITabGroup
    • setRenderedIndex

      public void setRenderedIndex(Integer renderedIndex)
      Specified by:
      setRenderedIndex in class AbstractUITabGroup
    • getActionListenerExpression

      public javax.el.MethodExpression getActionListenerExpression()
    • setActionListenerExpression

      public void setActionListenerExpression(javax.el.MethodExpression actionListener)
    • getAutoSpacing

      public Boolean getAutoSpacing()
      Automatically add spacing (margins/paddings) to the component for better positioning. Default is 'true' except the component is inside a: - header - footer - bar - sheet - tree - link group - button group - before facet - after facet - label facet - bar facet
    • setAutoSpacing

      public void setAutoSpacing(Boolean autoSpacing)
    • 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)
    • getTip

      public String getTip()
      Text value to display as tooltip.
      Specified by:
      getTip in class AbstractUIPanelBase
    • 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
    • setSelectedIndex

      public void setSelectedIndex(Integer selectedIndex)
      Specified by:
      setSelectedIndex 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