@Generated(value={"RichFaces CDK","4.5.0-SNAPSHOT"}) public class UICollapsiblePanel extends AbstractCollapsiblePanel implements javax.faces.component.behavior.ClientBehaviorHolder, PanelToggleSource
The <r:collapsiblePanel> component is a collapsible panel that shows or hides content when the header bar is activated. It is a simplified version of <r:togglePanel> component.
Modifier and Type | Class and Description |
---|---|
protected static class |
UICollapsiblePanel.Properties |
AbstractCollapsiblePanel.States
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
Constructor and Description |
---|
UICollapsiblePanel() |
Modifier and Type | Method and Description |
---|---|
String |
getBodyClass()
Space-separated list of CSS style class(es) to be applied to the panel content.
|
Object |
getData() |
String |
getDefaultEventName() |
String |
getDir() |
Collection<String> |
getEventNames() |
Object |
getExecute() |
String |
getFamily() |
String |
getHeader()
Provides the text on the panel header.
|
String |
getHeaderClass()
Space-separated list of CSS style class(es) to be applied to the panel header.
|
javax.el.MethodExpression |
getItemChangeListener()
Occurs on the server side when an item is changed through Ajax using the server mode
|
String |
getLang() |
String |
getLeftCollapsedIcon()
The icon displayed on the left of the panel header when the panel is collapsed
|
String |
getLeftExpandedIcon()
The icon displayed on the left of the panel header when the panel is expanded
|
String |
getOnbeforeitemchange()
The client-side script method to be called before the item is changed.
|
String |
getOnbeforeswitch()
The client-side script method to be called before the panel state is switched
|
String |
getOnclick() |
String |
getOndblclick() |
String |
getOnitemchange()
The client-side script method to be called after the item is changed.
|
String |
getOnmousedown() |
String |
getOnmousemove() |
String |
getOnmouseout() |
String |
getOnmouseover() |
String |
getOnmouseup() |
String |
getOnswitch()
The client-side script method to be called after the panel state is switched
|
Object |
getRender() |
String |
getRightCollapsedIcon()
The icon displayed on the right of the panel header when the panel is collapsed
|
String |
getRightExpandedIcon()
The icon displayed on the right of the panel header when the panel is expanded
|
String |
getStatus() |
String |
getStyle() |
String |
getStyleClass() |
String |
getTitle() |
javax.el.MethodExpression |
getToggleListener()
A Server-side MethodExpression to be called when the panel is toggled
|
boolean |
isCycledSwitching()
Applicable when cycling through the tabs.
|
boolean |
isExpanded()
When true, the panel is expanded, when false, the panel is collapsed
|
boolean |
isLimitRender() |
void |
setBodyClass(String bodyClass) |
void |
setCycledSwitching(boolean cycledSwitching) |
void |
setData(Object data) |
void |
setDir(String dir) |
void |
setExecute(Object execute) |
void |
setExpanded(boolean expanded) |
void |
setHeader(String header) |
void |
setHeaderClass(String headerClass) |
void |
setItemChangeListener(javax.el.MethodExpression itemChangeListener) |
void |
setLang(String lang) |
void |
setLeftCollapsedIcon(String leftCollapsedIcon) |
void |
setLeftExpandedIcon(String leftExpandedIcon) |
void |
setLimitRender(boolean limitRender) |
void |
setOnbeforeitemchange(String onbeforeitemchange) |
void |
setOnbeforeswitch(String onbeforeswitch) |
void |
setOnclick(String onclick) |
void |
setOndblclick(String ondblclick) |
void |
setOnitemchange(String onitemchange) |
void |
setOnmousedown(String onmousedown) |
void |
setOnmousemove(String onmousemove) |
void |
setOnmouseout(String onmouseout) |
void |
setOnmouseover(String onmouseover) |
void |
setOnmouseup(String onmouseup) |
void |
setOnswitch(String onswitch) |
void |
setRender(Object render) |
void |
setRightCollapsedIcon(String rightCollapsedIcon) |
void |
setRightExpandedIcon(String rightExpandedIcon) |
void |
setStatus(String status) |
void |
setStyle(String style) |
void |
setStyleClass(String styleClass) |
void |
setTitle(String title) |
void |
setToggleListener(javax.el.MethodExpression toggleListener) |
addPanelToggleListener, broadcast, getActiveItem, getPanelToggleListeners, getValue, isActiveItem, isActiveItem, queueEvent, removePanelToggleListener, setValue, updateActiveName
addItemChangeListener, decode, encodeBegin, encodeMetaComponent, getChildIndex, getClientIdByName, getFirstItem, getIndexByName, getItem, getItemByIndex, getItemChangeListeners, getItemCount, getLastItem, getNameByIndex, getNextItem, getNextItem, getPrevItem, getPrevItem, getRendersChildren, getSubmittedActiveItem, getSubmittedValue, getSwitchType, getVisitStateByName, isActiveItem, isImmediate, isLocalValueSet, isPanelItemDynamic, isRequired, isValid, processDecodes, processUpdates, processValidators, removeItemChangeListener, resetValue, resolveClientId, setActiveItem, setEventPhase, setEventPhase, setImmediate, setLocalValueSet, setRequired, setSubmittedActiveItem, setSubmittedValue, setSwitchType, setValid, setValueExpression, substituteUnresolvedClientId, updateModel, visitTogglePanelItems, visitTree
clearInitialState, getConverter, getLocalValue, markInitialState, restoreState, saveState, setConverter
addClientBehavior, addFacesListener, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, 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, 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
addClientBehavior, getClientBehaviors
addPanelToggleListener, getPanelToggleListeners, removePanelToggleListener
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class AbstractCollapsiblePanel
public Collection<String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
getEventNames
in class javax.faces.component.UIComponentBase
public String getDefaultEventName()
getDefaultEventName
in interface javax.faces.component.behavior.ClientBehaviorHolder
getDefaultEventName
in class javax.faces.component.UIComponentBase
public String getBodyClass()
AbstractCollapsiblePanel
getBodyClass
in class AbstractCollapsiblePanel
public void setBodyClass(String bodyClass)
public boolean isCycledSwitching()
AbstractTogglePanel
isCycledSwitching
in class AbstractCollapsiblePanel
public void setCycledSwitching(boolean cycledSwitching)
public Object getData()
getData
in class AbstractTogglePanel
public void setData(Object data)
public String getDir()
getDir
in interface AbstractDivPanel
getDir
in class AbstractCollapsiblePanel
public void setDir(String dir)
public Object getExecute()
getExecute
in class AbstractTogglePanel
public void setExecute(Object execute)
public boolean isExpanded()
AbstractCollapsiblePanel
isExpanded
in class AbstractCollapsiblePanel
public void setExpanded(boolean expanded)
setExpanded
in class AbstractCollapsiblePanel
public String getHeader()
AbstractCollapsiblePanel
Provides the text on the panel header. The panel header is all that is visible when the panel is collapsed.
Alternatively the header facet could be used in place of the header attribute. This would allow for additional styles and custom content to be applied to the tab.
getHeader
in class AbstractCollapsiblePanel
public void setHeader(String header)
public String getHeaderClass()
AbstractCollapsiblePanel
getHeaderClass
in class AbstractCollapsiblePanel
public void setHeaderClass(String headerClass)
public javax.el.MethodExpression getItemChangeListener()
AbstractTogglePanel
getItemChangeListener
in class AbstractCollapsiblePanel
public void setItemChangeListener(javax.el.MethodExpression itemChangeListener)
public String getLang()
getLang
in interface AbstractDivPanel
getLang
in class AbstractCollapsiblePanel
public void setLang(String lang)
public String getLeftCollapsedIcon()
AbstractCollapsiblePanel
getLeftCollapsedIcon
in class AbstractCollapsiblePanel
public void setLeftCollapsedIcon(String leftCollapsedIcon)
public String getLeftExpandedIcon()
AbstractCollapsiblePanel
getLeftExpandedIcon
in class AbstractCollapsiblePanel
public void setLeftExpandedIcon(String leftExpandedIcon)
public boolean isLimitRender()
isLimitRender
in class AbstractTogglePanel
public void setLimitRender(boolean limitRender)
public String getOnbeforeitemchange()
AbstractTogglePanel
getOnbeforeitemchange
in class AbstractCollapsiblePanel
public void setOnbeforeitemchange(String onbeforeitemchange)
public String getOnbeforeswitch()
AbstractCollapsiblePanel
getOnbeforeswitch
in class AbstractCollapsiblePanel
public void setOnbeforeswitch(String onbeforeswitch)
public String getOnclick()
getOnclick
in interface AbstractDivPanel
getOnclick
in class AbstractCollapsiblePanel
public void setOnclick(String onclick)
public String getOndblclick()
getOndblclick
in interface AbstractDivPanel
getOndblclick
in class AbstractCollapsiblePanel
public void setOndblclick(String ondblclick)
public String getOnitemchange()
AbstractTogglePanel
getOnitemchange
in class AbstractCollapsiblePanel
public void setOnitemchange(String onitemchange)
public String getOnmousedown()
getOnmousedown
in interface AbstractDivPanel
getOnmousedown
in class AbstractCollapsiblePanel
public void setOnmousedown(String onmousedown)
public String getOnmousemove()
getOnmousemove
in interface AbstractDivPanel
getOnmousemove
in class AbstractCollapsiblePanel
public void setOnmousemove(String onmousemove)
public String getOnmouseout()
getOnmouseout
in interface AbstractDivPanel
getOnmouseout
in class AbstractCollapsiblePanel
public void setOnmouseout(String onmouseout)
public String getOnmouseover()
getOnmouseover
in interface AbstractDivPanel
getOnmouseover
in class AbstractCollapsiblePanel
public void setOnmouseover(String onmouseover)
public String getOnmouseup()
getOnmouseup
in interface AbstractDivPanel
getOnmouseup
in class AbstractCollapsiblePanel
public void setOnmouseup(String onmouseup)
public String getOnswitch()
AbstractCollapsiblePanel
getOnswitch
in class AbstractCollapsiblePanel
public void setOnswitch(String onswitch)
public Object getRender()
getRender
in class AbstractTogglePanel
public void setRender(Object render)
public String getRightCollapsedIcon()
AbstractCollapsiblePanel
getRightCollapsedIcon
in class AbstractCollapsiblePanel
public void setRightCollapsedIcon(String rightCollapsedIcon)
public String getRightExpandedIcon()
AbstractCollapsiblePanel
getRightExpandedIcon
in class AbstractCollapsiblePanel
public void setRightExpandedIcon(String rightExpandedIcon)
public String getStatus()
getStatus
in class AbstractTogglePanel
public void setStatus(String status)
public String getStyle()
getStyle
in interface AbstractDivPanel
getStyle
in class AbstractCollapsiblePanel
public void setStyle(String style)
public String getStyleClass()
getStyleClass
in interface AbstractDivPanel
getStyleClass
in class AbstractCollapsiblePanel
public void setStyleClass(String styleClass)
public String getTitle()
getTitle
in interface AbstractDivPanel
getTitle
in class AbstractCollapsiblePanel
public void setTitle(String title)
public javax.el.MethodExpression getToggleListener()
AbstractCollapsiblePanel
getToggleListener
in class AbstractCollapsiblePanel
public void setToggleListener(javax.el.MethodExpression toggleListener)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.