public class UISelectItem extends UIComponentBase
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
bindings
Constructor and Description |
---|
UISelectItem()
Construct an instance of the UISelectItem.
|
Modifier and Type | Method and Description |
---|---|
String |
getFamily() |
String |
getItemDescription()
Gets For use in development tools.
|
String |
getItemLabel()
Gets The string which will be presented to the user for this option.
|
Object |
getItemValue()
Gets The value for this Item.
|
Object |
getValue()
Gets The initial value of this component.
|
boolean |
isItemDisabled()
Gets Determine whether this item can be chosen by the user.
|
boolean |
isItemEscaped()
Gets The escape setting for the label of this selection item.
|
void |
restoreState(FacesContext facesContext,
Object state)
Invoked in the "restore view" phase, this initialises this
object's members from the values saved previously into the
provided state object.
|
Object |
saveState(FacesContext facesContext)
Invoked after the render phase has completed, this method
returns an object which can be passed to the restoreState
of some other instance of UIComponentBase to reset that
object's state to the same values as this object currently
has.
|
void |
setItemDescription(String itemDescription)
Sets For use in development tools.
|
void |
setItemDisabled(boolean itemDisabled)
Sets Determine whether this item can be chosen by the user.
|
void |
setItemEscaped(boolean itemEscaped)
Sets The escape setting for the label of this selection item.
|
void |
setItemLabel(String itemLabel)
Sets The string which will be presented to the user for this option.
|
void |
setItemValue(Object itemValue)
Sets The value for this Item.
|
void |
setValue(Object value)
Sets The initial value of this component.
|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
encodeAll, getContainerClientId, getValueExpression, setValueExpression
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public Object getValue()
public void setValue(Object value)
value
- the new value valuepublic boolean isItemDisabled()
public void setItemDisabled(boolean itemDisabled)
itemDisabled
- the new itemDisabled valuepublic boolean isItemEscaped()
public void setItemEscaped(boolean itemEscaped)
itemEscaped
- the new itemEscaped valuepublic String getItemDescription()
public void setItemDescription(String itemDescription)
itemDescription
- the new itemDescription valuepublic String getItemLabel()
public void setItemLabel(String itemLabel)
itemLabel
- the new itemLabel valuepublic Object getItemValue()
public void setItemValue(Object itemValue)
itemValue
- the new itemValue valuepublic Object saveState(FacesContext facesContext)
UIComponentBase
saveState
in interface StateHolder
saveState
in class UIComponentBase
public void restoreState(FacesContext facesContext, Object state)
UIComponentBase
restoreState
in interface StateHolder
restoreState
in class UIComponentBase
state
- is an object previously returned by
the saveState method of this class.public String getFamily()
getFamily
in class UIComponent
Copyright © 2013 Apache Software Foundation. All Rights Reserved.