public class UIMenu
extends org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
Constructor and Description |
---|
UIMenu() |
Modifier and Type | Method and Description |
---|---|
void |
encodeBegin(FacesContext context) |
void |
encodeEnd(FacesContext context) |
String |
getFamily() |
String |
getLabel() |
static String |
getNextMenuId(UIComponent component,
FacesContext context)
Return the next usable menu DIV id in a sequence
|
String |
getTooltip() |
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setLabel(String label) |
void |
setTooltip(String tooltip) |
outputAttribute
addFacesListener, broadcast, decode, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
public String getFamily()
getFamily
in class UIComponent
UIComponent.getFamily()
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 restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
restoreState
in class UIComponentBase
StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)
public Object saveState(FacesContext context)
saveState
in interface StateHolder
saveState
in class UIComponentBase
StateHolder.saveState(javax.faces.context.FacesContext)
public String getLabel()
public void setLabel(String label)
label
- The label to set.public String getTooltip()
public void setTooltip(String tooltip)
tooltip
- The tooltip to set.public static String getNextMenuId(UIComponent component, FacesContext context)
context
- FacesContextCopyright © 2005–2017 Alfresco Software. All rights reserved.