| org.apache.tapestry.SelectModel
All known Subclasses: org.apache.tapestry.util.AbstractSelectModel,
SelectModel | public interface SelectModel (Code) | | Defines the possible options and option groups for a <select> [X]HTML element.
Primarily used by the
Select 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.
|
getOptionGroups | List<OptionGroupModel> getOptionGroups()(Code) | | The list of groups, each containing some number of individual options.
the groups, or null |
getOptions | List<OptionModel> getOptions()(Code) | | The list of ungrouped options, which appear after any grouped options. Generally, a model
will either provide option groups or ungroup options, but not both.
the ungrouped options, or null |
|
|