|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OptionModel
A single option within a OptionGroupModel. Corresponds closely to the [X]HTML <option> element.
| Method Summary | |
|---|---|
Map<String,String> |
getAttributes()
Additional attributes to render within the <option>. |
String |
getLabel()
The localized, user-presentable label for the option. |
Object |
getValue()
The server-side value represented by this option. |
boolean |
isDisabled()
If true, then a disabled attribute will be rendered with the <option>. |
| Method Detail |
|---|
String getLabel()
boolean isDisabled()
Map<String,String> getAttributes()
Object getValue()
ValueEncoder.toClient(Object), to generate the client-side value attribute.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||