Package org.apache.tapestry5
Interface SelectModelVisitor
- All Known Implementing Classes:
SelectModelRenderer
public interface SelectModelVisitor
Callback interface that allows for visiting the option groups and option models of a select model in correct order
order.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beginOptionGroup
(OptionGroupModel groupModel) Invoked once for eachOptionGroupModel
, just before invokingoption(OptionModel)
for each embedded option within the group.void
endOptionGroup
(OptionGroupModel groupModel) Invoked after all options within the group have been visited.void
option
(OptionModel optionModel) Invoked for each option within a group, and at the end, for each ungrouped option.
-
Method Details
-
beginOptionGroup
Invoked once for eachOptionGroupModel
, just before invokingoption(OptionModel)
for each embedded option within the group. -
option
Invoked for each option within a group, and at the end, for each ungrouped option.- Parameters:
optionModel
-
-
endOptionGroup
Invoked after all options within the group have been visited.
-