org.richfaces.component
Class AbstractTab
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UICommand
org.richfaces.component.AbstractActionComponent
org.richfaces.component.AbstractTab
- All Implemented Interfaces:
- EventListener, javax.faces.component.ActionSource, javax.faces.component.ActionSource2, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, AbstractDivPanel, AbstractTogglePanelItemInterface, AbstractTogglePanelTitledItem, AjaxProps
- Direct Known Subclasses:
- UITab
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.
- Author:
- akolonitsky
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 |
Methods inherited from class javax.faces.component.UICommand |
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getFamily, getValue, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
addClientBehavior, 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, unsubscribeFromEvent |
Methods inherited from class javax.faces.component.UIComponent |
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree |
Methods inherited from interface org.richfaces.component.AbstractDivPanel |
getDir, getLang, getOnclick, getOndblclick, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getStyle, getStyleClass, getTitle |
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder |
addClientBehavior, getClientBehaviors, getDefaultEventName, getEventNames |
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
AbstractTab
public AbstractTab()
getHeaderActiveClass
public String getHeaderActiveClass()
- The CSS class applied to the header when this panel is active
- Specified by:
getHeaderActiveClass
in interface AbstractTogglePanelTitledItem
setHeaderActiveClass
public void setHeaderActiveClass(String headerActiveClass)
getHeaderDisabledClass
public String getHeaderDisabledClass()
- The CSS class applied to the header when this panel is disabled
- Specified by:
getHeaderDisabledClass
in interface AbstractTogglePanelTitledItem
setHeaderDisabledClass
public void setHeaderDisabledClass(String headerDisabledClass)
getHeaderInactiveClass
public String getHeaderInactiveClass()
- The CSS class applied to the header when this panel is inactive
- Specified by:
getHeaderInactiveClass
in interface AbstractTogglePanelTitledItem
setHeaderInactiveClass
public void setHeaderInactiveClass(String headerInactiveClass)
getHeaderClass
public String getHeaderClass()
- The CSS class applied to the header
- Specified by:
getHeaderClass
in interface AbstractTogglePanelTitledItem
setHeaderClass
public void setHeaderClass(String headerClass)
getContentClass
public String getContentClass()
- The CSS class applied to the panel content
- Specified by:
getContentClass
in interface AbstractTogglePanelTitledItem
setContentClass
public void setContentClass(String contentClass)
getExecute
public Object getExecute()
- Specified by:
getExecute
in interface AjaxProps
setExecute
public void setExecute(Object execute)
getHeaderFacet
public javax.faces.component.UIComponent getHeaderFacet(Enum<?> state)
getHeaderFacet
public static javax.faces.component.UIComponent getHeaderFacet(javax.faces.component.UIComponent component,
Enum<?> state)
getHeader
public String getHeader()
- The header label of the tab
- Specified by:
getHeader
in interface AbstractTogglePanelTitledItem
setHeader
public void setHeader(String header)
getParentPanel
public AbstractTabPanel getParentPanel()
- Specified by:
getParentPanel
in interface AbstractTogglePanelItemInterface
getTabPanel
public AbstractTabPanel getTabPanel()
isActive
public boolean isActive()
- Specified by:
isActive
in interface AbstractTogglePanelItemInterface
shouldProcess
public boolean shouldProcess()
- Specified by:
shouldProcess
in interface AbstractTogglePanelItemInterface
getName
public String getName()
- The name of the tab, used for identifying and manipulating the active panel
- Specified by:
getName
in interface AbstractTogglePanelItemInterface
setName
public void setName(String name)
toString
public String toString()
- Overrides:
toString
in class Object
getSwitchType
public org.richfaces.component.SwitchType getSwitchType()
- The switch type for this toggle panel: client, ajax (default), server
- Specified by:
getSwitchType
in interface AbstractTogglePanelItemInterface
setSwitchType
public void setSwitchType(org.richfaces.component.SwitchType switchType)
getRenderer
public javax.faces.render.Renderer getRenderer(javax.faces.context.FacesContext context)
- Overrides:
getRenderer
in class javax.faces.component.UIComponentBase
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.