public abstract class AccordionBase extends javax.faces.component.UIPanel implements IAccordion, IceClientBehaviorHolder
For more information, see the Accordion Wiki Documentation.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AccordionBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
AccordionBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior) |
int |
getActiveIndex()
Return the value of the
activeIndex property. |
java.lang.String |
getDefaultEventName() |
java.lang.String |
getDefaultExecute(java.lang.String event) |
java.lang.String |
getDefaultRender(java.lang.String event) |
java.lang.String |
getEffect()
Return the value of the
effect property. |
java.lang.String |
getEvent()
Return the value of the
event property. |
java.util.Collection<java.lang.String> |
getEventNames() |
java.lang.String |
getFamily() |
java.lang.String |
getListenerArgument(java.lang.String event) |
javax.el.MethodExpression |
getPaneChangeListener()
Return the value of the
paneChangeListener property. |
java.lang.String |
getStyle()
Return the value of the
style property. |
java.lang.String |
getStyleClass()
Return the value of the
styleClass property. |
java.lang.String |
getWidgetVar()
Return the value of the
widgetVar property. |
boolean |
isAutoHeight()
Return the value of the
autoHeight property. |
boolean |
isCollapsible()
Return the value of the
collapsible property. |
boolean |
isDisabled()
Return the value of the
disabled property. |
boolean |
isFillSpace()
Return the value of the
fillSpace property. |
protected boolean |
isPropertySet(java.lang.String finder) |
void |
setActiveIndex(int activeIndex)
Set the value of the
activeIndex property. |
void |
setAutoHeight(boolean autoHeight)
Set the value of the
autoHeight property. |
void |
setCollapsible(boolean collapsible)
Set the value of the
collapsible property. |
void |
setDisabled(boolean disabled)
Set the value of the
disabled property. |
void |
setEffect(java.lang.String effect)
Set the value of the
effect property. |
void |
setEvent(java.lang.String event)
Set the value of the
event property. |
void |
setFillSpace(boolean fillSpace)
Set the value of the
fillSpace property. |
void |
setPaneChangeListener(javax.el.MethodExpression paneChangeListener)
Set the value of the
paneChangeListener property. |
void |
setStyle(java.lang.String style)
Set the value of the
style property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the
styleClass property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
void |
setWidgetVar(java.lang.String widgetVar)
Set the value of the
widgetVar property. |
addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreepublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIPanelpublic void setActiveIndex(int activeIndex)
Set the value of the activeIndex property.
Contents: Index of the active pane.
setActiveIndex in interface IAccordionpublic int getActiveIndex()
Return the value of the activeIndex property.
Contents: Index of the active pane. Default = '0'.
getActiveIndex in interface IAccordionpublic void setAutoHeight(boolean autoHeight)
Set the value of the autoHeight property.
Contents: When enabled, pane with highest content is used to calculate the height.
setAutoHeight in interface IAccordionpublic boolean isAutoHeight()
Return the value of the autoHeight property.
Contents: When enabled, pane with highest content is used to calculate the height. Default = 'true'.
isAutoHeight in interface IAccordionpublic void setCollapsible(boolean collapsible)
Set the value of the collapsible property.
Contents: Defines if accordion can be collapsed all together.
setCollapsible in interface IAccordionpublic boolean isCollapsible()
Return the value of the collapsible property.
Contents: Defines if accordion can be collapsed all together. Default = 'false'.
isCollapsible in interface IAccordionpublic void setDisabled(boolean disabled)
Set the value of the disabled property.
Contents: Disables or enables the accordion.
setDisabled in interface IAccordionpublic boolean isDisabled()
Return the value of the disabled property.
Contents: Disables or enables the accordion. Default = 'false'.
isDisabled in interface IAccordionpublic void setEffect(java.lang.String effect)
Set the value of the effect property.
Contents: Effect to use when toggling the panes.
setEffect in interface IAccordionpublic java.lang.String getEffect()
Return the value of the effect property.
Contents: Effect to use when toggling the panes. Default = 'slide'.
getEffect in interface IAccordionpublic void setEvent(java.lang.String event)
Set the value of the event property.
Contents: Client side event to toggle the panes.
setEvent in interface IAccordionpublic java.lang.String getEvent()
Return the value of the event property.
Contents: Client side event to toggle the panes.
getEvent in interface IAccordionpublic void setFillSpace(boolean fillSpace)
Set the value of the fillSpace property.
Contents: When enabled, accordion fills the height of its parent container.
setFillSpace in interface IAccordionpublic boolean isFillSpace()
Return the value of the fillSpace property.
Contents: When enabled, accordion fills the height of its parent container. Default = 'false'.
isFillSpace in interface IAccordionpublic void setPaneChangeListener(javax.el.MethodExpression paneChangeListener)
Set the value of the paneChangeListener property.
Contents: Server side listener to invoke when active pane changes
setPaneChangeListener in interface IAccordionpublic javax.el.MethodExpression getPaneChangeListener()
Return the value of the paneChangeListener property.
Contents: Server side listener to invoke when active pane changes
getPaneChangeListener in interface IAccordionpublic void setStyle(java.lang.String style)
Set the value of the style property.
Contents: Inline style of the container element.
setStyle in interface IAccordionpublic java.lang.String getStyle()
Return the value of the style property.
Contents: Inline style of the container element.
getStyle in interface IAccordionpublic void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: Style class of the container element.
setStyleClass in interface IAccordionpublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: Style class of the container element.
getStyleClass in interface IAccordionpublic void setWidgetVar(java.lang.String widgetVar)
Set the value of the widgetVar property.
Contents: Name of the widget to access client side api
setWidgetVar in interface IAccordionpublic java.lang.String getWidgetVar()
Return the value of the widgetVar property.
Contents: Name of the widget to access client side api
getWidgetVar in interface IAccordionprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentpublic java.util.Collection<java.lang.String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultRender(java.lang.String event)
getDefaultRender in interface IceClientBehaviorHolderpublic java.lang.String getDefaultExecute(java.lang.String event)
getDefaultExecute in interface IceClientBehaviorHolderpublic java.lang.String getListenerArgument(java.lang.String event)
getListenerArgument in interface IceClientBehaviorHolderpublic void addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior in interface javax.faces.component.behavior.ClientBehaviorHolderaddClientBehavior in class javax.faces.component.UIComponentBaseCopyright 2014 ICEsoft Technologies Canada Corp., All Rights Reserved.