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
    --- | --- | ---
    `void` | `beginOptionGroup​(OptionGroupModel groupModel)` | Invoked once for each `OptionGroupModel`, just before invoking `option(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 Detail

    - #### beginOptionGroup

          void beginOptionGroup​(OptionGroupModel groupModel)

      Invoked once for each `OptionGroupModel`, just before invoking `option(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.