public class UIPanel
extends javax.faces.component.UICommand
| Modifier and Type | Class and Description |
|---|---|
static class |
UIPanel.ExpandedEvent
Class representing the an action relevant when the panel is expanded or collapsed.
|
| Constructor and Description |
|---|
UIPanel()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
broadcast(javax.faces.event.FacesEvent event) |
void |
decode(javax.faces.context.FacesContext context) |
void |
encodeBegin(javax.faces.context.FacesContext context) |
void |
encodeEnd(javax.faces.context.FacesContext context) |
String |
getBgcolor() |
String |
getBorder() |
javax.faces.el.MethodBinding |
getExpandedActionListener() |
String |
getExpandedTitleBorder() |
String |
getFacetsId()
Get the facets component Id to use
|
String |
getFamily() |
String |
getLabel() |
String |
getTitleBgcolor() |
String |
getTitleBorder() |
javax.faces.component.UIComponent |
getTitleComponent()
Return the UI Component to be displayed on the right of the panel title area
|
boolean |
isExpanded()
Returns whether the component show allow rendering of its child components.
|
boolean |
isProgressive() |
void |
restoreState(javax.faces.context.FacesContext context,
Object state) |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setBgcolor(String bgcolor) |
void |
setBorder(String border) |
void |
setExpanded(boolean expanded)
Sets whether the component show allow rendering of its child components.
|
void |
setExpandedActionListener(javax.faces.el.MethodBinding binding) |
void |
setExpandedTitleBorder(String expandedTitleBorder) |
void |
setFacetsId(String facets)
Set the facets component Id to use
|
void |
setLabel(String label) |
void |
setProgressive(boolean progressive) |
void |
setTitleBgcolor(String titleBgcolor) |
void |
setTitleBorder(String titleBorder) |
addActionListener, getAction, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionListener, setImmediate, setValueaddFacesListener, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBindingpublic String getFamily()
getFamily in class javax.faces.component.UICommandUIComponent.getFamily()public javax.faces.component.UIComponent getTitleComponent()
public void encodeBegin(javax.faces.context.FacesContext context)
throws IOException
encodeBegin in class javax.faces.component.UIComponentBaseIOExceptionUIComponentBase.encodeBegin(javax.faces.context.FacesContext)public void encodeEnd(javax.faces.context.FacesContext context)
throws IOException
encodeEnd in class javax.faces.component.UIComponentBaseIOExceptionUIComponentBase.encodeEnd(javax.faces.context.FacesContext)public void decode(javax.faces.context.FacesContext context)
decode in class javax.faces.component.UIComponentBaseUIComponentBase.decode(javax.faces.context.FacesContext)public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
broadcast in class javax.faces.component.UICommandjavax.faces.event.AbortProcessingExceptionUICommand.broadcast(javax.faces.event.FacesEvent)public void restoreState(javax.faces.context.FacesContext context,
Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UICommandStateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)public Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UICommandStateHolder.saveState(javax.faces.context.FacesContext)public void setExpandedActionListener(javax.faces.el.MethodBinding binding)
binding - The MethodBinding to call when expand/collapse is performed by the user.public javax.faces.el.MethodBinding getExpandedActionListener()
public String getBgcolor()
public void setBgcolor(String bgcolor)
bgcolor - The bgcolor to set.public String getBorder()
public void setBorder(String border)
border - The border name to user.public String getTitleBgcolor()
public void setTitleBgcolor(String titleBgcolor)
titleBgcolor - Sets the bgcolor of the title areapublic String getTitleBorder()
public void setTitleBorder(String titleBorder)
titleBorder - Sets the border style of the title areapublic String getExpandedTitleBorder()
public void setExpandedTitleBorder(String expandedTitleBorder)
expandedTitleBorder - Sets the border style of the expanded title areapublic String getLabel()
public void setLabel(String label)
label - The label to set.public boolean isProgressive()
public void setProgressive(boolean progressive)
progressive - The progressive display boolean to set.public boolean isExpanded()
public void setExpanded(boolean expanded)
public String getFacetsId()
public void setFacetsId(String facets)
facets - the facets component IdCopyright © 2005–2018 Alfresco Software. All rights reserved.