|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.SelectItem
SelectItem represents a single item in the
list of supported items associated with a UISelectMany
or UISelectOne component. It is not itself a UIComponent,
but one or more SelectItem instances can be utilized in a
UISelectItem component.
| Constructor Summary | |
SelectItem(java.lang.Object value,
java.lang.String label,
java.lang.String description)
Construct a UISelectItem instance with the specified
property values. |
|
| Method Summary | |
java.lang.String |
getDescription()
Return a description of this item, for use in development tools. |
java.lang.String |
getLabel()
Return the label of this item, to be rendered visibly for the user. |
java.lang.Object |
getValue()
Return the value of this item, to be returned as a request parameter if this item is selected by the user. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SelectItem(java.lang.Object value,
java.lang.String label,
java.lang.String description)
Construct a UISelectItem instance with the specified
property values.
value - Value to be returned as a request parameter if this
item is selected by the userlabel - Label to be rendered for this item in the responsedescription - Description of this item, for use in tools| Method Detail |
public java.lang.String getDescription()
Return a description of this item, for use in development tools.
public java.lang.String getLabel()
Return the label of this item, to be rendered visibly for the user.
public java.lang.Object getValue()
Return the value of this item, to be returned as a request parameter if this item is selected by the user.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||