public class UIPanel extends UICommand
Modifier and Type | Class and Description |
---|---|
static class |
UIPanel.ExpandedEvent
Class representing the an action relevant when the panel is expanded or collapsed.
|
COMPONENT_FAMILY, COMPONENT_TYPE
Constructor and Description |
---|
UIPanel()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
broadcast(FacesEvent event) |
void |
decode(FacesContext context) |
void |
encodeBegin(FacesContext context) |
void |
encodeEnd(FacesContext context) |
String |
getBgcolor() |
String |
getBorder() |
MethodBinding |
getExpandedActionListener() |
String |
getExpandedTitleBorder() |
String |
getFacetsId()
Get the facets component Id to use
|
String |
getFamily() |
String |
getLabel() |
String |
getTitleBgcolor() |
String |
getTitleBorder() |
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(FacesContext context,
Object state) |
Object |
saveState(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(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, setValue
addFacesListener, 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, setValueBinding
public String getFamily()
getFamily
in class UICommand
UIComponent.getFamily()
public UIComponent getTitleComponent()
public void encodeBegin(FacesContext context) throws IOException
encodeBegin
in class UIComponentBase
IOException
UIComponentBase.encodeBegin(javax.faces.context.FacesContext)
public void encodeEnd(FacesContext context) throws IOException
encodeEnd
in class UIComponentBase
IOException
UIComponentBase.encodeEnd(javax.faces.context.FacesContext)
public void decode(FacesContext context)
decode
in class UIComponentBase
UIComponentBase.decode(javax.faces.context.FacesContext)
public void broadcast(FacesEvent event) throws AbortProcessingException
broadcast
in class UICommand
AbortProcessingException
UICommand.broadcast(javax.faces.event.FacesEvent)
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
restoreState
in class UICommand
StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)
public Object saveState(FacesContext context)
saveState
in interface StateHolder
saveState
in class UICommand
StateHolder.saveState(javax.faces.context.FacesContext)
public void setExpandedActionListener(MethodBinding binding)
binding
- The MethodBinding to call when expand/collapse is performed by the user.public 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–2017 Alfresco Software. All rights reserved.