public abstract class AbstractTab extends AbstractActionComponent implements AbstractTogglePanelTitledItem, javax.faces.component.behavior.ClientBehaviorHolder, AjaxProps, BypassProps, CoreProps, EventsMouseProps, I18nProps
The <rich:tab> component represents an individual tab inside a <rich:tabPanel> component, including the tab's content. Clicking on the tab header will bring its corresponding content to the front of other tabs.
AbstractTogglePanelTitledItem.HeaderStates| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
| Constructor and Description |
|---|
AbstractTab() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentClass()
The CSS class applied to the panel content
|
Object |
getExecute()
IDs of components that will participate in the "execute" portion of the Request Processing Lifecycle.
|
String |
getHeader()
The header label of the tab
|
String |
getHeaderActiveClass()
The CSS class applied to the header when this panel is active
|
String |
getHeaderClass()
The CSS class applied to the header
|
String |
getHeaderDisabledClass()
The CSS class applied to the header when this panel is disabled
|
javax.faces.component.UIComponent |
getHeaderFacet(Enum<?> state) |
static javax.faces.component.UIComponent |
getHeaderFacet(javax.faces.component.UIComponent component,
Enum<?> state) |
String |
getHeaderInactiveClass()
The CSS class applied to the header when this panel is inactive
|
String |
getName()
The name of the tab, used for identifying and manipulating the active panel
|
AbstractTabPanel |
getParentPanel() |
javax.faces.render.Renderer |
getRenderer(javax.faces.context.FacesContext context) |
SwitchType |
getSwitchType()
The switch type for this toggle panel: client, ajax (default), server
|
AbstractTabPanel |
getTabPanel() |
abstract Object |
getValue()
Suppress the inherited value attribute from the taglib.
|
static Iterator<javax.faces.component.UIComponent> |
getVisitableChildren(javax.faces.component.UIComponent component,
javax.faces.component.visit.VisitContext visitContext)
If the VisitContext is not the RenderExtendedVisitContext, return the usual FacetsAndChildren iterator.
|
boolean |
isActive() |
boolean |
isDynamicPanelItem() |
void |
setContentClass(String contentClass) |
void |
setExecute(Object execute) |
void |
setHeader(String header) |
void |
setHeaderActiveClass(String headerActiveClass) |
void |
setHeaderClass(String headerClass) |
void |
setHeaderDisabledClass(String headerDisabledClass) |
void |
setHeaderInactiveClass(String headerInactiveClass) |
void |
setName(String name) |
void |
setSwitchType(SwitchType switchType) |
boolean |
shouldVisitChildren()
Indicates whether processing logic such as renderer and visitors should visit (process) the children of this component.
|
String |
toString() |
boolean |
visitTree(javax.faces.component.visit.VisitContext context,
javax.faces.component.visit.VisitCallback callback) |
queueEventaddActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getFamily, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValueaddClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpressionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHeaderStyle, getOnheaderclick, getOnheaderdblclick, getOnheadermousedown, getOnheadermousemove, getOnheadermouseupgetClientId, getOnenter, getOnleave, isRenderedgetStyle, getStyleClass, getTitlegetOnclick, getOndblclick, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseupisDisabledaddClientBehavior, getClientBehaviors, getDefaultEventName, getEventNamesgetOnbegin, getStatusgetData, getOnbeforedomupdate, getOncomplete, getRender, isLimitRenderisBypassUpdatespublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public abstract Object getValue()
getValue in class javax.faces.component.UICommandpublic String getHeaderActiveClass()
getHeaderActiveClass in interface AbstractTogglePanelTitledItempublic void setHeaderActiveClass(String headerActiveClass)
public String getHeaderDisabledClass()
getHeaderDisabledClass in interface AbstractTogglePanelTitledItempublic void setHeaderDisabledClass(String headerDisabledClass)
public String getHeaderInactiveClass()
getHeaderInactiveClass in interface AbstractTogglePanelTitledItempublic void setHeaderInactiveClass(String headerInactiveClass)
public String getHeaderClass()
getHeaderClass in interface AbstractTogglePanelTitledItempublic void setHeaderClass(String headerClass)
public String getContentClass()
getContentClass in interface AbstractTogglePanelTitledItempublic void setContentClass(String contentClass)
public Object getExecute()
AjaxPropsgetExecute in interface AjaxPropspublic void setExecute(Object execute)
public javax.faces.component.UIComponent getHeaderFacet(Enum<?> state)
public static javax.faces.component.UIComponent getHeaderFacet(javax.faces.component.UIComponent component,
Enum<?> state)
public static Iterator<javax.faces.component.UIComponent> getVisitableChildren(javax.faces.component.UIComponent component, javax.faces.component.visit.VisitContext visitContext)
visitContext - The VisitContext of the component tree visit.public String getHeader()
getHeader in interface AbstractTogglePanelTitledItempublic void setHeader(String header)
public AbstractTabPanel getParentPanel()
getParentPanel in interface AbstractTogglePanelItemInterfacepublic boolean isDynamicPanelItem()
isDynamicPanelItem in interface AbstractTogglePanelItemInterfacepublic AbstractTabPanel getTabPanel()
public boolean isActive()
isActive in interface AbstractTogglePanelItemInterfacepublic boolean shouldVisitChildren()
VisitChildrenRejectableshouldVisitChildren in interface VisitChildrenRejectablepublic String getName()
getName in interface AbstractTogglePanelItemInterfacepublic void setName(String name)
public SwitchType getSwitchType()
getSwitchType in interface AbstractTogglePanelItemInterfacepublic void setSwitchType(SwitchType switchType)
public javax.faces.render.Renderer getRenderer(javax.faces.context.FacesContext context)
getRenderer in class javax.faces.component.UIComponentBasepublic boolean visitTree(javax.faces.component.visit.VisitContext context,
javax.faces.component.visit.VisitCallback callback)
visitTree in class javax.faces.component.UIComponentCopyright © 2014 JBoss by Red Hat. All Rights Reserved.