Class AccordionPanel
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UIPanel
-
- org.primefaces.component.api.UITabPanel
-
- org.primefaces.component.accordionpanel.AccordionPanelBase
-
- org.primefaces.component.accordionpanel.AccordionPanel
-
- All Implemented Interfaces:
EventListener
,javax.faces.component.behavior.ClientBehaviorHolder
,javax.faces.component.NamingContainer
,javax.faces.component.PartialStateHolder
,javax.faces.component.StateHolder
,javax.faces.component.TransientStateHolder
,javax.faces.event.ComponentSystemEventListener
,javax.faces.event.FacesListener
,javax.faces.event.SystemEventListenerHolder
,PrimeClientBehaviorHolder
,RTLAware
,Widget
public class AccordionPanel extends AccordionPanelBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.primefaces.component.accordionpanel.AccordionPanelBase
AccordionPanelBase.PropertyKeys
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACTIVE_TAB_CONTENT_CLASS
static String
ACTIVE_TAB_HEADER_CLASS
static String
ACTIVE_TAB_HEADER_ICON_CLASS
static String
COMPONENT_TYPE
static String
CONTAINER_CLASS
static String
INACTIVE_TAB_CONTENT_CLASS
static String
TAB_HEADER_CLASS
static String
TAB_HEADER_ICON_CLASS
static String
TAB_HEADER_ICON_RTL_CLASS
-
Fields inherited from class org.primefaces.component.accordionpanel.AccordionPanelBase
COMPONENT_FAMILY, DEFAULT_RENDERER
-
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 org.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY
-
-
Constructor Summary
Constructors Constructor Description AccordionPanel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
broadcast(javax.faces.event.FacesEvent event)
Tab
findTab(String tabClientId)
Map<String,Class<? extends javax.faces.event.BehaviorEvent>>
getBehaviorEventMapping()
String
getDefaultEventName()
Collection<String>
getEventNames()
boolean
isContentLoadRequest(javax.faces.context.FacesContext context)
void
processUpdates(javax.faces.context.FacesContext context)
void
queueEvent(javax.faces.event.FacesEvent event)
protected void
resetActiveIndex()
-
Methods inherited from class org.primefaces.component.accordionpanel.AccordionPanelBase
getActiveIndex, getDir, getFamily, getOnTabChange, getOnTabClose, getOnTabShow, getStyle, getStyleClass, getTabController, getTabindex, getWidgetVar, isCache, isMultiple, setActiveIndex, setCache, setDir, setMultiple, setOnTabChange, setOnTabClose, setOnTabShow, setStyle, setStyleClass, setTabController, setTabindex, setWidgetVar
-
Methods inherited from class org.primefaces.component.api.UITabPanel
encodeBegin, encodeChildren, getContainerClientId, getDataModel, getIndex, getIndexData, getOffset, getRendersChildren, getRowCount, getSize, getStep, getValue, getVar, getVarStatus, invokeOnComponent, isDynamic, isPrependId, isRepeating, process, processDecodes, processValidators, resetLoadedTabsState, saveState, setDynamic, setIndex, setOffset, setPrependId, setSize, setStep, setValue, setValueExpression, setVar, setVarStatus, shouldSkipChildren, visitTree
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
-
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors
-
Methods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
-
-
-
Field Detail
-
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
-
CONTAINER_CLASS
public static final String CONTAINER_CLASS
- See Also:
- Constant Field Values
-
ACTIVE_TAB_HEADER_CLASS
public static final String ACTIVE_TAB_HEADER_CLASS
- See Also:
- Constant Field Values
-
TAB_HEADER_CLASS
public static final String TAB_HEADER_CLASS
- See Also:
- Constant Field Values
-
TAB_HEADER_ICON_CLASS
public static final String TAB_HEADER_ICON_CLASS
- See Also:
- Constant Field Values
-
TAB_HEADER_ICON_RTL_CLASS
public static final String TAB_HEADER_ICON_RTL_CLASS
- See Also:
- Constant Field Values
-
ACTIVE_TAB_HEADER_ICON_CLASS
public static final String ACTIVE_TAB_HEADER_ICON_CLASS
- See Also:
- Constant Field Values
-
ACTIVE_TAB_CONTENT_CLASS
public static final String ACTIVE_TAB_CONTENT_CLASS
- See Also:
- Constant Field Values
-
INACTIVE_TAB_CONTENT_CLASS
public static final String INACTIVE_TAB_CONTENT_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBehaviorEventMapping
public Map<String,Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
-
getEventNames
public Collection<String> getEventNames()
- Specified by:
getEventNames
in interfacejavax.faces.component.behavior.ClientBehaviorHolder
- Overrides:
getEventNames
in classjavax.faces.component.UIComponentBase
-
getDefaultEventName
public String getDefaultEventName()
- Specified by:
getDefaultEventName
in interfacejavax.faces.component.behavior.ClientBehaviorHolder
- Overrides:
getDefaultEventName
in classjavax.faces.component.UIComponentBase
-
isContentLoadRequest
public boolean isContentLoadRequest(javax.faces.context.FacesContext context)
-
queueEvent
public void queueEvent(javax.faces.event.FacesEvent event)
- Overrides:
queueEvent
in classUITabPanel
-
processUpdates
public void processUpdates(javax.faces.context.FacesContext context)
- Overrides:
processUpdates
in classUITabPanel
-
resetActiveIndex
protected void resetActiveIndex()
-
broadcast
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
- Overrides:
broadcast
in classUITabPanel
- Throws:
javax.faces.event.AbortProcessingException
-
-