com.liferay.faces.alloy.component.tab
Class Tab

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIColumn
              extended by com.liferay.faces.alloy.component.tab.TabBase
                  extended by com.liferay.faces.alloy.component.tab.Tab
All Implemented Interfaces:
com.liferay.faces.util.component.Styleable, 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

This is the UIComponent class associated with the alloy:tab component tag. The intended usage is for the developer to specify alloy:tab as a child element of alloy:tabView. For example:

    <alloy:tabView value="#{modelBean.items}" var="item">
        <alloy:tab label="#{item.label}" />
    </alloy:tabView>
    
 
Note that this class ultimately extends UIColumn because the TabView class ultimately extends UIData (which handles children of type UIColumn in a special manner). In fact, the JavaDoc description for the UIData class states that _ONLY_ children of type UIColumn should be processed by associated Renderer classes. One of the most important benefits of extending UIColumn is that the UIComponent.getClientId() method will append the rowIndex during iteration over a DataModel, ensuring that each rendered Tab will have a unique clientId.

Author:
Neil Griffin

Nested Class Summary
 
Nested classes/interfaces inherited from class com.liferay.faces.alloy.component.tab.TabBase
TabBase.TabPropertyKeys
 
Field Summary
 
Fields inherited from class com.liferay.faces.alloy.component.tab.TabBase
COMPONENT_TYPE, RENDERER_TYPE
 
Fields inherited from class javax.faces.component.UIColumn
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
 
Fields inherited from interface com.liferay.faces.util.component.Styleable
STYLE, STYLE_CLASS
 
Constructor Summary
Tab()
           
 
Method Summary
 
Methods inherited from class com.liferay.faces.alloy.component.tab.TabBase
getContentClass, getHeaderClass, getHeaderText, getStyle, getStyleClass, isDisabled, setContentClass, setDisabled, setHeaderClass, setHeaderText, setStyle, setStyleClass
 
Methods inherited from class javax.faces.component.UIColumn
getFamily, getFooter, getHeader, setFooter, setHeader
 
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, processDecodes, 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
 

Constructor Detail

Tab

public Tab()


Copyright © 2017 Liferay, Inc.. All rights reserved.