|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIColumn
com.liferay.faces.alloy.component.tab.TabBase
com.liferay.faces.alloy.component.tab.Tab
public class Tab
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.
| 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 |
|---|
public Tab()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||