|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UISelectItem
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:
value attribute's value is an instance of
SelectItem.valueRef attribute points at a model data
item of type SelectItem.SelectItem instance is synthesized from the values
of the itemDescription, itemLabel, and
itemValue attributes.
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UISelectItem()
| Method Detail |
public java.lang.String getItemDescription()
Return the description for this selection item.
public void setItemDescription(java.lang.String itemDescription)
Set the description for this selection item.
itemDescription - The new descriptionpublic java.lang.String getItemLabel()
Return the localized label for this selection item.
public void setItemLabel(java.lang.String itemLabel)
Set the localized label for this selection item.
itemLabel - The new localized labelpublic java.lang.String getItemValue()
Return the server value for this selection item.
public void setItemValue(java.lang.String itemValue)
Set the server value for this selection item.
itemValue - The new server valuepublic boolean getRendersSelf()
Return true to indicate that no
Renderer needs to be associated
with this component.
getRendersSelf in interface UIComponentgetRendersSelf in class UIComponentBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||