public class Tab extends TabBase
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.TabBase.TabPropertyKeys
COMPONENT_TYPE, RENDERER_TYPE
Constructor and Description |
---|
Tab() |
getContentClass, getHeaderClass, getHeaderText, getStyle, getStyleClass, isDisabled, setContentClass, setDisabled, setHeaderClass, setHeaderText, setStyle, setStyleClass
getFamily, getFooter, getHeader, setFooter, setHeader
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
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
Copyright © 2022 Liferay, Inc.. All rights reserved.