java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIPanel
org.primefaces.component.tabview.TabBase
org.primefaces.component.tabview.Tab
All Implemented Interfaces:
EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder

public class Tab extends TabBase
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.primefaces.component.tabview.TabBase

    TabBase.PropertyKeys
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class org.primefaces.component.tabview.TabBase

    COMPONENT_FAMILY

    Fields inherited from class javax.faces.component.UIComponent

    ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Tab()
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    boolean
    isLoaded(int index)
    In case of a repeating parent (var=...), we need to store the state on row basis.
    void
    processDecodes(javax.faces.context.FacesContext context)
     
    void
    setLoaded(boolean value)
     
    void
    setLoaded(int index, boolean value)
    In case of a repeating parent (var=...), we need to store the state on row basis.

    Methods inherited from class javax.faces.component.UIComponentBase

    addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent

    Methods inherited from class javax.faces.component.UIComponent

    encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Tab

      public Tab()
  • Method Details

    • isLoaded

      public boolean isLoaded()
    • setLoaded

      public void setLoaded(boolean value)
    • isLoaded

      public boolean isLoaded(int index)
      In case of a repeating parent (var=...), we need to store the state on row basis. This is actually a workaround because neither UITabPanel, not UIRepeat has a rowStatePreserved attribute.
      Parameters:
      index - The tab index.
      Returns:
      if loaded or not.
    • setLoaded

      public void setLoaded(int index, boolean value)
      In case of a repeating parent (var=...), we need to store the state on row basis. This is actually a workaround because neither UITabPanel, not UIRepeat has a rowStatePreserved attribute.
      Parameters:
      index - The tab index.
      value - The loaded state.
    • processDecodes

      public void processDecodes(javax.faces.context.FacesContext context)
      Overrides:
      processDecodes in class javax.faces.component.UIComponentBase
    • getOptionsMenu

      public Menu getOptionsMenu()