javax.faces.component
Class UISelectItem

java.lang.Object
  extended byjavax.faces.component.UIComponentBase
      extended byjavax.faces.component.UIOutput
          extended byjavax.faces.component.UISelectItem
All Implemented Interfaces:
java.io.Serializable, UIComponent

public class UISelectItem
extends UIOutput

UISelectItem is a component that may be nested inside a UISelectMany or UISelectOne component, and causes the addition of a SelectItem instance to the list of available options for the parent component. The contents of the SelectItem can be specified in one of the following ways:

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.faces.component.UIComponent
SEPARATOR_CHAR
 
Constructor Summary
UISelectItem()
           
 
Method Summary
 java.lang.String getItemDescription()
          Return the description for this selection item.
 java.lang.String getItemLabel()
          Return the localized label for this selection item.
 java.lang.String getItemValue()
          Return the server value for this selection item.
 boolean getRendersSelf()
          Return true to indicate that no Renderer needs to be associated with this component.
 void setItemDescription(java.lang.String itemDescription)
          Set the description for this selection item.
 void setItemLabel(java.lang.String itemLabel)
          Set the localized label for this selection item.
 void setItemValue(java.lang.String itemValue)
          Set the server value for this selection item.
 
Methods inherited from class javax.faces.component.UIOutput
currentValue, getValue, getValueRef, setValue, setValueRef
 
Methods inherited from class javax.faces.component.UIComponentBase
addChild, addChild, addFacet, addValidator, broadcast, clearChildren, clearFacets, clearValidators, containsChild, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttribute, getAttributeNames, getChild, getChildCount, getChildren, getClientId, getComponentId, getConverter, getFacet, getFacetNames, getFacetsAndChildren, getParent, getRendererType, getRendersChildren, getValidators, isRendered, isValid, processDecodes, processReconstitutes, processUpdates, processValidators, reconstitute, removeChild, removeChild, removeFacet, removeValidator, setAttribute, setComponentId, setConverter, setParent, setRendered, setRendererType, setValid, updateModel, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UISelectItem

public UISelectItem()
Method Detail

getItemDescription

public java.lang.String getItemDescription()

Return the description for this selection item.


setItemDescription

public void setItemDescription(java.lang.String itemDescription)

Set the description for this selection item.

Parameters:
itemDescription - The new description

getItemLabel

public java.lang.String getItemLabel()

Return the localized label for this selection item.


setItemLabel

public void setItemLabel(java.lang.String itemLabel)

Set the localized label for this selection item.

Parameters:
itemLabel - The new localized label

getItemValue

public java.lang.String getItemValue()

Return the server value for this selection item.


setItemValue

public void setItemValue(java.lang.String itemValue)

Set the server value for this selection item.

Parameters:
itemValue - The new server value

getRendersSelf

public boolean getRendersSelf()

Return true to indicate that no Renderer needs to be associated with this component.

Specified by:
getRendersSelf in interface UIComponent
Overrides:
getRendersSelf in class UIComponentBase