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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbeginOptionGroup(OptionGroupModel groupModel)Invoked once for eachOptionGroupModel, just before invokingoption(OptionModel)for each embedded option within the group.voidendOptionGroup(OptionGroupModel groupModel)Invoked after all options within the group have been visited.voidoption(OptionModel optionModel)Invoked for each option within a group, and at the end, for each ungrouped option.
-
-
-
Method Detail
-
beginOptionGroup
void beginOptionGroup(OptionGroupModel groupModel)
Invoked once for eachOptionGroupModel, just before invokingoption(OptionModel)for each embedded option within the group.
-
option
void option(OptionModel optionModel)
Invoked for each option within a group, and at the end, for each ungrouped option.- Parameters:
optionModel-
-
endOptionGroup
void endOptionGroup(OptionGroupModel groupModel)
Invoked after all options within the group have been visited.
-
-