Home » Mojarra-2.0.1 » javax » faces » component » [javadoc | source]
javax.faces.component
public class: UISelectItem [javadoc | source]
java.lang.Object
   javax.faces.component.UIComponent
      javax.faces.component.UIComponentBase
         javax.faces.component.UISelectItem

All Implemented Interfaces:
    PartialStateHolder, ComponentSystemEventListener, SystemEventListenerHolder

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:

Nested Class Summary:
enum class  UISelectItem.PropertyKeys   
Field Summary
public static final  String COMPONENT_TYPE   

The standard component type for this component.

 
public static final  String COMPONENT_FAMILY   

The standard component family for this component.

 
Fields inherited from javax.faces.component.UIComponent:
CURRENT_COMPONENT,  CURRENT_COMPOSITE_COMPONENT,  BEANINFO_KEY,  FACETS_KEY,  VIEW_LOCATION_KEY,  COMPOSITE_COMPONENT_TYPE_KEY,  COMPOSITE_FACET_NAME,  attributesThatAreSet,  stateHelper,  compositeParent,  bindings,  initialState,  listenersByEventClass
Constructor:
 public UISelectItem() 
Method from javax.faces.component.UISelectItem Summary:
getFamily,   getItemDescription,   getItemLabel,   getItemValue,   getValue,   isItemDisabled,   isItemEscaped,   isNoSelectionOption,   setItemDescription,   setItemDisabled,   setItemEscaped,   setItemLabel,   setItemValue,   setNoSelectionOption,   setValue
Methods from javax.faces.component.UIComponentBase:
addClientBehavior,   addFacesListener,   broadcast,   clearInitialState,   decode,   encodeBegin,   encodeChildren,   encodeEnd,   findComponent,   getAttributes,   getChildCount,   getChildren,   getClientBehaviors,   getClientId,   getDefaultEventName,   getDescriptorMap,   getEventNames,   getFacesContext,   getFacesListeners,   getFacet,   getFacetCount,   getFacets,   getFacetsAndChildren,   getId,   getParent,   getRenderer,   getRendererType,   getRendersChildren,   getValueBinding,   invokeOnComponent,   isRendered,   isTransient,   markInitialState,   processDecodes,   processRestoreState,   processSaveState,   processUpdates,   processValidators,   queueEvent,   removeFacesListener,   restoreAttachedState,   restoreState,   saveAttachedState,   saveState,   setId,   setParent,   setRendered,   setRendererType,   setTransient,   setValueBinding
Methods from javax.faces.component.UIComponent:
addFacesListener,   broadcast,   clearInitialState,   decode,   encodeAll,   encodeBegin,   encodeChildren,   encodeEnd,   findComponent,   getAttributes,   getChildCount,   getChildren,   getClientId,   getClientId,   getCompositeComponentParent,   getContainerClientId,   getCurrentComponent,   getCurrentCompositeComponent,   getFacesContext,   getFacesListeners,   getFacet,   getFacetCount,   getFacets,   getFacetsAndChildren,   getFamily,   getId,   getListenersForEventClass,   getNamingContainer,   getParent,   getRenderer,   getRendererType,   getRendersChildren,   getResourceBundleMap,   getStateHelper,   getStateHelper,   getValueBinding,   getValueExpression,   initialStateMarked,   invokeOnComponent,   isCompositeComponent,   isInView,   isRendered,   isVisitable,   markInitialState,   popComponentFromEL,   processDecodes,   processEvent,   processRestoreState,   processSaveState,   processUpdates,   processValidators,   pushComponentToEL,   queueEvent,   removeFacesListener,   setId,   setInView,   setParent,   setRendered,   setRendererType,   setValueBinding,   setValueExpression,   subscribeToEvent,   unsubscribeFromEvent,   visitTree
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.faces.component.UISelectItem Detail:
 public String getFamily() 
 public String getItemDescription() 

    Return the description for this selection item.

 public String getItemLabel() 

    Return the localized label for this selection item.

 public Object getItemValue() 

    Return the server value for this selection item.

 public Object getValue() 

    Returns the value property of the UISelectItem.

 public boolean isItemDisabled() 

    Return the disabled setting for this selection item.

 public boolean isItemEscaped() 

    Return the escape setting for the label of this selection item.

 public boolean isNoSelectionOption() 

    Return the value of the noSelectionOption property. If the value of this property is true, the system interprets the option represented by this UISelectItem instance as representing a "no selection" option. See UISelectOne#validateValue and UISelectMany#validateValue for usage.

 public  void setItemDescription(String itemDescription) 

    Set the description for this selection item.

 public  void setItemDisabled(boolean itemDisabled) 

    Set the disabled value for this selection item.

 public  void setItemEscaped(boolean itemEscaped) 

    Set the escape value for the label of this selection item.

 public  void setItemLabel(String itemLabel) 

    Set the localized label for this selection item.

 public  void setItemValue(Object itemValue) 

    Set the server value for this selection item.

 public  void setNoSelectionOption(boolean noSelectionOption) 

    Set the value of the noSelectionOption property.

 public  void setValue(Object value) 

    Sets the value property of the UISelectItem.