Class Hierarchy All Classes All Fields and Methods

 

Class javax.faces.component.UISelectItem

java.lang.Object
        javax.faces.component.UIComponent
                javax.faces.component.UIComponentBase
                        javax.faces.component.UISelectItem

public class UISelectItem
extends UIComponentBase

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:

Field Index
Field Description
COMPONENT_FAMILY The standard component family for this component.
COMPONENT_TYPE The standard component type for this component.

Constructor Index
Constructor Description
UISelectItem() Create a new UISelectItem instance with default property values.

Method Index
Method Description
String getFamily()  
String getItemDescription() Return the description for this selection item.
String getItemLabel() Return the localized label for this selection item.
Object getItemValue() Return the server value for this selection item.
Object getValue() Returns the value property of the UISelectItem.
boolean isItemDisabled() Return the disabled setting for this selection item.
void restoreState(FacesContext, Object)  
Object saveState(FacesContext)  
void setItemDescription(String) Set the description for this selection item.
void setItemDisabled(boolean) Set the disabled value for this selection item.
void setItemLabel(String) Set the localized label for this selection item.
void setItemValue(Object) Set the server value for this selection item.
void setValue(Object) Sets the value property of the UISelectItem.

 

Fields

 

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY

The standard component family for this component.

 

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE

The standard component type for this component.

 

Constructors

 

UISelectItem

public UISelectItem() 

Create a new UISelectItem instance with default property values.

 

Methods

 

getFamily

public String getFamily() 

 

getItemDescription

public String getItemDescription() 

Return the description for this selection item.

 

getItemLabel

public String getItemLabel() 

Return the localized label for this selection item.

 

getItemValue

public Object getItemValue() 

Return the server value for this selection item.

 

getValue

public Object getValue() 

Returns the value property of the UISelectItem.

 

isItemDisabled

public boolean isItemDisabled() 

Return the disabled setting for this selection item.

 

restoreState

public void restoreState(FacesContext context,
                         Object state) 

 

saveState

public Object saveState(FacesContext context) 

 

setItemDescription

public void setItemDescription(String itemDescription) 

Set the description for this selection item.

 

setItemDisabled

public void setItemDisabled(boolean itemDisabled) 

Set the disabled value for this selection item.

 

setItemLabel

public void setItemLabel(String itemLabel) 

Set the localized label for this selection item.

 

setItemValue

public void setItemValue(Object itemValue) 

Set the server value for this selection item.

 

setValue

public void setValue(Object value) 

Sets the value property of the UISelectItem.

Class Hierarchy All Classes All Fields and Methods