|
|||||||||
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.UICommand
org.alfresco.web.ui.common.component.UIPanel
public class UIPanel
Nested Class Summary | |
---|---|
static class |
UIPanel.ExpandedEvent
Class representing the an action relevant when the panel is expanded or collapsed. |
Field Summary |
---|
Fields inherited from class javax.faces.component.UICommand |
---|
COMPONENT_FAMILY, COMPONENT_TYPE |
Constructor Summary | |
---|---|
UIPanel()
Default constructor |
Method Summary | |
---|---|
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)
|
java.lang.String |
getBgcolor()
|
java.lang.String |
getBorder()
|
javax.faces.el.MethodBinding |
getExpandedActionListener()
|
java.lang.String |
getExpandedTitleBorder()
|
java.lang.String |
getFacetsId()
Get the facets component Id to use |
java.lang.String |
getFamily()
|
java.lang.String |
getLabel()
|
java.lang.String |
getTitleBgcolor()
|
java.lang.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,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setBgcolor(java.lang.String bgcolor)
|
void |
setBorder(java.lang.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(java.lang.String expandedTitleBorder)
|
void |
setFacetsId(java.lang.String facets)
Set the facets component Id to use |
void |
setLabel(java.lang.String label)
|
void |
setProgressive(boolean progressive)
|
void |
setTitleBgcolor(java.lang.String titleBgcolor)
|
void |
setTitleBorder(java.lang.String titleBorder)
|
Methods inherited from class javax.faces.component.UICommand |
---|
addActionListener, getAction, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionListener, setImmediate, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UIPanel()
Method Detail |
---|
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UICommand
UIComponent.getFamily()
public javax.faces.component.UIComponent getTitleComponent()
public void encodeBegin(javax.faces.context.FacesContext context) throws java.io.IOException
encodeBegin
in class javax.faces.component.UIComponentBase
java.io.IOException
UIComponentBase.encodeBegin(javax.faces.context.FacesContext)
public void encodeEnd(javax.faces.context.FacesContext context) throws java.io.IOException
encodeEnd
in class javax.faces.component.UIComponentBase
java.io.IOException
UIComponentBase.encodeEnd(javax.faces.context.FacesContext)
public void decode(javax.faces.context.FacesContext context)
decode
in class javax.faces.component.UIComponentBase
UIComponentBase.decode(javax.faces.context.FacesContext)
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
broadcast
in class javax.faces.component.UICommand
javax.faces.event.AbortProcessingException
UICommand.broadcast(javax.faces.event.FacesEvent)
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UICommand
StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UICommand
StateHolder.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 java.lang.String getBgcolor()
public void setBgcolor(java.lang.String bgcolor)
bgcolor
- The bgcolor to set.public java.lang.String getBorder()
public void setBorder(java.lang.String border)
border
- The border name to user.public java.lang.String getTitleBgcolor()
public void setTitleBgcolor(java.lang.String titleBgcolor)
titleBgcolor
- Sets the bgcolor of the title areapublic java.lang.String getTitleBorder()
public void setTitleBorder(java.lang.String titleBorder)
titleBorder
- Sets the border style of the title areapublic java.lang.String getExpandedTitleBorder()
public void setExpandedTitleBorder(java.lang.String expandedTitleBorder)
expandedTitleBorder
- Sets the border style of the expanded title areapublic java.lang.String getLabel()
public void setLabel(java.lang.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 java.lang.String getFacetsId()
public void setFacetsId(java.lang.String facets)
facets
- the facets component Id
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |