public class UIListItem extends org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent implements Serializable
Constructor and Description |
---|
UIListItem() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getFamily() |
String |
getImage() |
String |
getLabel() |
String |
getTooltip() |
Object |
getValue()
Get the value - the value is used in a equals() match against the current value in the
parent ModeList component to set the selected item.
|
boolean |
isDisabled()
Returns the disabled flag
|
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setDescription(String description) |
void |
setDisabled(boolean disabled)
Sets whether the mode list is disabled
|
void |
setImage(String image) |
void |
setLabel(String label) |
void |
setTooltip(String tooltip) |
void |
setValue(Object value)
Set the value - the value is used in a equals() match against the current value in the
parent ModeList component to set the selected item.
|
outputAttribute
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, 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 Object saveState(FacesContext context)
saveState
in interface StateHolder
saveState
in class UIComponentBase
StateHolder.saveState(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 getValue()
public void setValue(Object value)
value
- the valuepublic boolean isDisabled()
public void setDisabled(boolean disabled)
disabled
- the disabled flagpublic String getLabel()
public void setLabel(String label)
label
- The label to set.public String getDescription()
public void setDescription(String description)
description
- The description to set.public String getImage()
public void setImage(String image)
image
- The image to set.public String getTooltip()
public void setTooltip(String tooltip)
tooltip
- The tooltip to set.Copyright © 2005–2017 Alfresco Software. All rights reserved.