|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SelectModel
Defines the possible options and option groups for a <select> [X]HTML element.
Primarily used by theSelect component, but potentially used by
anything similar, that needs to present a list of options to the user. Generally paired with a ValueEncoder to create client-side representations of server-side values.
Palette| Method Summary | |
|---|---|
List<OptionGroupModel> |
getOptionGroups()
The list of groups, each containing some number of individual options. |
List<OptionModel> |
getOptions()
The list of ungrouped options, which appear after any grouped options. |
void |
visit(SelectModelVisitor visitor)
Allows access to all the OptionGroupModels and OptionModels within the SelectModel. |
| Method Detail |
|---|
List<OptionGroupModel> getOptionGroups()
List<OptionModel> getOptions()
void visit(SelectModelVisitor visitor)
OptionGroupModels and OptionModels within the SelectModel.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||