public abstract class AbstractTab extends AbstractActionComponent implements AbstractTogglePanelTitledItem, AjaxProps, javax.faces.component.behavior.ClientBehaviorHolder
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) |
org.richfaces.component.SwitchType |
getSwitchType()
The switch type for this toggle panel: client, ajax (default), server
|
AbstractTabPanel |
getTabPanel() |
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(org.richfaces.component.SwitchType switchType) |
boolean |
shouldProcess() |
String |
toString() |
isBypassUpdates, queueEvent, setBypassUpdatesaddActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getFamily, getValue, 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, 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, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHeaderStyle, getOnheaderclick, getOnheaderdblclick, getOnheadermousedown, getOnheadermousemove, getOnheadermouseup, isDisabledgetOnenter, getOnleave, isRenderedgetDir, getLang, getOnclick, getOndblclick, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getStyle, getStyleClass, getTitlegetData, getOnbeforedomupdate, getOnbegin, getOncomplete, getRender, getStatus, isLimitRenderpublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public 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 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 shouldProcess()
shouldProcess in interface AbstractTogglePanelItemInterfacepublic String getName()
getName in interface AbstractTogglePanelItemInterfacepublic void setName(String name)
public org.richfaces.component.SwitchType getSwitchType()
getSwitchType in interface AbstractTogglePanelItemInterfacepublic void setSwitchType(org.richfaces.component.SwitchType switchType)
public javax.faces.render.Renderer getRenderer(javax.faces.context.FacesContext context)
getRenderer in class javax.faces.component.UIComponentBaseCopyright © 2012 JBoss by Red Hat. All Rights Reserved.