|
ICEfaces 3.3.0 Java API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIPanel
org.icefaces.ace.component.accordion.AccordionBase
public class AccordionBase
The Accordion is a container component that displays contents in a stacked format.
For more information, see the Accordion Wiki Documentation.
| Nested Class Summary | |
|---|---|
protected static class |
AccordionBase.PropertyKeys
|
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
RENDERER_TYPE
|
| Fields inherited from class javax.faces.component.UIPanel |
|---|
COMPONENT_FAMILY |
| 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 |
| Constructor Summary | |
|---|---|
AccordionBase()
|
|
| Method Summary | |
|---|---|
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()
|
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 |
isCache()
Return the value of the cache property. |
boolean |
isCollapsible()
Return the value of the collapsible property. |
boolean |
isDisabled()
Return the value of the disabled property. |
boolean |
isDynamic()
Return the value of the dynamic property. |
boolean |
isFillSpace()
Return the value of the fillSpace property. |
void |
setActiveIndex(int activeIndex)
Set the value of the activeIndex property. |
void |
setAutoHeight(boolean autoHeight)
Set the value of the autoHeight property. |
void |
setCache(boolean cache)
Set the value of the cache property. |
void |
setCollapsible(boolean collapsible)
Set the value of the collapsible property. |
void |
setDisabled(boolean disabled)
Set the value of the disabled property. |
void |
setDynamic(boolean dynamic)
Set the value of the dynamic 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 |
setWidgetVar(java.lang.String widgetVar)
Set the value of the widgetVar property. |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, 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, 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 class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder |
|---|
getClientBehaviors |
| Field Detail |
|---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
| Constructor Detail |
|---|
public AccordionBase()
| Method Detail |
|---|
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 setCache(boolean cache)
Set the value of the cache property.
Contents: Deprecated. Defines if activating a dynamic pane should load the contents from server again. (This attribute is now deprecated. Every pane change will produce a request, and the contents of the panes will be updated if they differ from previous content.)
setCache in interface IAccordionpublic boolean isCache()
Return the value of the cache property.
Contents: Deprecated. Defines if activating a dynamic pane should load the contents from server again. (This attribute is now deprecated. Every pane change will produce a request, and the contents of the panes will be updated if they differ from previous content.) Default = 'true'.
isCache 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 setDynamic(boolean dynamic)
Set the value of the dynamic property.
Contents: Deprecated. Defines the toggle mode. (This attribute is now deprecated. Every pane change will produce a request, and the contents of the panes will be updated if they differ from previous content.)
setDynamic in interface IAccordionpublic boolean isDynamic()
Return the value of the dynamic property.
Contents: Deprecated. Defines the toggle mode. (This attribute is now deprecated. Every pane change will produce a request, and the contents of the panes will be updated if they differ from previous content.) Default = 'false'.
isDynamic 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 IAccordionpublic 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 IceClientBehaviorHolder
public 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.UIComponentBase
|
ICEfaces 3.3.0 Java API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||