|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A ListItem meant to be used in a StaticSelectionList
Method Summary | |
void |
setLabel(java.util.Locale locale,
java.lang.String label)
Sets a label for this ListItem (optionally to be shown to the end-user instead of the actual value of the ListItem). |
void |
setValue(java.lang.Object value)
Sets the actual value of this ListItem. |
Methods inherited from interface org.outerj.daisy.repository.schema.ListItem |
getLabel, getLabelExact, getValue, getXml |
Method Detail |
public void setValue(java.lang.Object value)
value
- the value to set for this ListItempublic void setLabel(java.util.Locale locale, java.lang.String label)
This label is localized, i.e. one has to specify a locale for which this label can and will be used.
locale
- the locale for which the specified presentation of the label is meantlabel
- the presentation of the label to use for the specified locale
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |