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) |
queueEvent
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getFamily, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue
addClientBehavior, 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, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getHeaderStyle, getOnheaderclick, getOnheaderdblclick, getOnheadermousedown, getOnheadermousemove, getOnheadermouseup
getClientId, getOnenter, getOnleave, isRendered
getStyle, getStyleClass, getTitle
getOnclick, getOndblclick, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup
isDisabled
addClientBehavior, getClientBehaviors, getDefaultEventName, getEventNames
getData, getOnbeforedomupdate, getOnbegin, getOncomplete, getRender, getStatus, isLimitRender
isBypassUpdates
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public abstract Object getValue()
getValue
in class javax.faces.component.UICommand
public String getHeaderActiveClass()
getHeaderActiveClass
in interface AbstractTogglePanelTitledItem
public void setHeaderActiveClass(String headerActiveClass)
public String getHeaderDisabledClass()
getHeaderDisabledClass
in interface AbstractTogglePanelTitledItem
public void setHeaderDisabledClass(String headerDisabledClass)
public String getHeaderInactiveClass()
getHeaderInactiveClass
in interface AbstractTogglePanelTitledItem
public void setHeaderInactiveClass(String headerInactiveClass)
public String getHeaderClass()
getHeaderClass
in interface AbstractTogglePanelTitledItem
public void setHeaderClass(String headerClass)
public String getContentClass()
getContentClass
in interface AbstractTogglePanelTitledItem
public void setContentClass(String contentClass)
public Object getExecute()
AjaxProps
getExecute
in interface AjaxProps
public 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 AbstractTogglePanelTitledItem
public void setHeader(String header)
public AbstractTabPanel getParentPanel()
getParentPanel
in interface AbstractTogglePanelItemInterface
public boolean isDynamicPanelItem()
isDynamicPanelItem
in interface AbstractTogglePanelItemInterface
public AbstractTabPanel getTabPanel()
public boolean isActive()
isActive
in interface AbstractTogglePanelItemInterface
public boolean shouldVisitChildren()
VisitChildrenRejectable
shouldVisitChildren
in interface VisitChildrenRejectable
public String getName()
getName
in interface AbstractTogglePanelItemInterface
public void setName(String name)
public SwitchType getSwitchType()
getSwitchType
in interface AbstractTogglePanelItemInterface
public void setSwitchType(SwitchType switchType)
public javax.faces.render.Renderer getRenderer(javax.faces.context.FacesContext context)
getRenderer
in class javax.faces.component.UIComponentBase
public boolean visitTree(javax.faces.component.visit.VisitContext context, javax.faces.component.visit.VisitCallback callback)
visitTree
in class javax.faces.component.UIComponent
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.