public class UIListItem
extends org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
implements java.io.Serializable
| Constructor and Description |
|---|
UIListItem() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription() |
java.lang.String |
getFamily() |
java.lang.String |
getImage() |
java.lang.String |
getLabel() |
java.lang.String |
getTooltip() |
java.lang.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(javax.faces.context.FacesContext context,
java.lang.Object state) |
java.lang.Object |
saveState(javax.faces.context.FacesContext context) |
void |
setDescription(java.lang.String description) |
void |
setDisabled(boolean disabled)
Sets whether the mode list is disabled
|
void |
setImage(java.lang.String image) |
void |
setLabel(java.lang.String label) |
void |
setTooltip(java.lang.String tooltip) |
void |
setValue(java.lang.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.
|
outputAttributeaddFacesListener, 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, setValueBindingpublic java.lang.String getFamily()
getFamily in class javax.faces.component.UIComponentUIComponent.getFamily()public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIComponentBaseStateHolder.saveState(javax.faces.context.FacesContext)public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBaseStateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)public java.lang.Object getValue()
public void setValue(java.lang.Object value)
value - the valuepublic boolean isDisabled()
public void setDisabled(boolean disabled)
disabled - the disabled flagpublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
label - The label to set.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The description to set.public java.lang.String getImage()
public void setImage(java.lang.String image)
image - The image to set.public java.lang.String getTooltip()
public void setTooltip(java.lang.String tooltip)
tooltip - The tooltip to set.Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.