Klasse UITabGroup

java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
Alle implementierten Schnittstellen:
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.
  • Felddetails

    • COMPONENT_TYPE

      public static final String COMPONENT_TYPE
    • COMPONENT_FAMILY

      public static final String COMPONENT_FAMILY
      Siehe auch:
  • Konstruktordetails

    • UITabGroup

      public UITabGroup()
  • Methodendetails

    • getEventNames

      public Collection<String> getEventNames()
      Angegeben von:
      getEventNames in Schnittstelle javax.faces.component.behavior.ClientBehaviorHolder
      Setzt außer Kraft:
      getEventNames in Klasse javax.faces.component.UIComponentBase
    • getDefaultEventName

      public String getDefaultEventName()
      Angegeben von:
      getDefaultEventName in Schnittstelle javax.faces.component.behavior.ClientBehaviorHolder
      Setzt außer Kraft:
      getDefaultEventName in Klasse javax.faces.component.UIComponentBase
    • getFamily

      public String getFamily()
      Setzt außer Kraft:
      getFamily in Klasse javax.faces.component.UIPanel
    • getRenderedIndex

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

      public void setRenderedIndex(Integer renderedIndex)
      Angegeben von:
      setRenderedIndex in Klasse 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
      Angegeben von:
      getSwitchType in Klasse 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
      Angegeben von:
      isShowNavigationBar in Klasse AbstractUITabGroup
    • setShowNavigationBar

      public void setShowNavigationBar(boolean showNavigationBar)
    • getTip

      public String getTip()
      Text value to display as tooltip.
      Angegeben von:
      getTip in Klasse 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
      Angegeben von:
      getSelectedIndex in Klasse AbstractUITabGroup
    • setSelectedIndex

      public void setSelectedIndex(Integer selectedIndex)
      Angegeben von:
      setSelectedIndex in Klasse AbstractUITabGroup
    • restoreState

      public void restoreState(javax.faces.context.FacesContext context, Object state)
      Angegeben von:
      restoreState in Schnittstelle javax.faces.component.StateHolder
      Setzt außer Kraft:
      restoreState in Klasse javax.faces.component.UIComponentBase