public abstract class AbstractAccordion extends AbstractTogglePanel implements CoreProps, EventsMouseProps, I18nProps
The <rich:accordion> is a series of panels stacked on top of each other, each collapsed such that only the header of the panel is showing. When the header of a panel is clicked, it is expanded to show the content of the panel. Clicking on a different header will collapse the previous panel and expand the selected one. Each panel contained in a <rich:accordion> component is a <rich:accordionItem> component.
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
ACTIVE_ITEM_META_COMPONENT, META_NAME_FIRST, META_NAME_LAST, META_NAME_NEXT, META_NAME_PREV, UPDATE_MESSAGE_ID
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
META_COMPONENT_SEPARATOR_CHAR
Modifier | Constructor and Description |
---|---|
protected |
AbstractAccordion() |
Modifier and Type | Method and Description |
---|---|
String |
getActiveItem()
Holds the active tab name.
|
String |
getFamily() |
abstract String |
getHeight()
The height of the panel
|
abstract String |
getItemActiveHeaderClass()
The CSS class applied to the panel header when the panel is active
|
abstract String |
getItemActiveLeftIcon()
The icon displayed on the left of the panel header when the panel is active
|
abstract String |
getItemActiveRightIcon()
The icon displayed on the right of the panel header when the panel is active
|
abstract String |
getItemContentClass()
A CSS class applied to each of the accordionItem children
|
abstract String |
getItemDisabledHeaderClass()
The CSS class applied to the panel header when the panel is disabled
|
abstract String |
getItemDisabledLeftIcon()
The icon displayed on the left of the panel header when the panel is disabled
|
abstract String |
getItemDisabledRightIcon()
The icon displayed on the right of the panel header when the panel is disabled
|
abstract String |
getItemHeaderClass()
The CSS class applied to the panel header
|
abstract String |
getItemInactiveHeaderClass()
The CSS class applied to the panel header when the panel is not active
|
abstract String |
getItemInactiveLeftIcon()
The icon displayed on the left of the panel header when the panel is not active
|
abstract String |
getItemInactiveRightIcon()
The icon displayed on the right of the panel header when the panel is not active
|
abstract String |
getOnbeforeitemchange()
Points to the function to perform when before the switchable item is changed
|
abstract String |
getOnitemchange()
Points to the function to perform when the switchable item is changed.
|
abstract String |
getWidth()
The width of the panel
|
addItemChangeListener, broadcast, decode, encodeBegin, encodeMetaComponent, getChildIndex, getClientIdByName, getData, getExecute, getFirstItem, getIndexByName, getItem, getItemByIndex, getItemChangeListener, getItemChangeListeners, getItemCount, getLastItem, getNameByIndex, getNextItem, getNextItem, getPrevItem, getPrevItem, getRender, getRendersChildren, getStatus, getSubmittedActiveItem, getSubmittedValue, getSwitchType, getVisitStateByName, isActiveItem, isActiveItem, isActiveItem, isCycledSwitching, isImmediate, isLimitRender, isLocalValueSet, isPanelItemDynamic, isRequired, isValid, processDecodes, processUpdates, processValidators, queueEvent, removeItemChangeListener, resetValue, resolveClientId, setActiveItem, setEventPhase, setEventPhase, setImmediate, setLocalValueSet, setRequired, setSubmittedActiveItem, setSubmittedValue, setSwitchType, setValid, setValue, setValueExpression, substituteUnresolvedClientId, updateActiveName, updateModel, visitMetaComponents, visitTogglePanelItems, visitTree
clearInitialState, getConverter, getLocalValue, getValue, markInitialState, restoreState, saveState, setConverter
addClientBehavior, addFacesListener, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStyle, getStyleClass, getTitle
getOnclick, getOndblclick, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class AbstractTogglePanel
public String getActiveItem()
getActiveItem
in class AbstractTogglePanel
public abstract String getItemActiveLeftIcon()
public abstract String getItemInactiveLeftIcon()
public abstract String getItemDisabledLeftIcon()
public abstract String getItemActiveRightIcon()
public abstract String getItemInactiveRightIcon()
public abstract String getItemDisabledRightIcon()
public abstract String getWidth()
public abstract String getHeight()
public abstract String getItemActiveHeaderClass()
public abstract String getItemDisabledHeaderClass()
public abstract String getItemInactiveHeaderClass()
public abstract String getItemContentClass()
public abstract String getItemHeaderClass()
public abstract String getOnitemchange()
getOnitemchange
in class AbstractTogglePanel
public abstract String getOnbeforeitemchange()
getOnbeforeitemchange
in class AbstractTogglePanel
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.