## Uses of Interface
org.apache.tapestry5.OptionModel

- Packages that use OptionModel
  Package | Description
  --- | ---
  org.apache.tapestry5 | Root package for Tapestry, containing common interfaces and data types used throughout the framework.
  org.apache.tapestry5.internal | [INTERNAL USE ONLY] internal support classes; API subject to change.
  org.apache.tapestry5.internal.util | [INTERNAL USE ONLY] various utility classes; API subject to change.
  org.apache.tapestry5.util | A set of enums, abstract classs and wrappers of various purposes

- - ### Uses of OptionModel in org.apache.tapestry5

    Classes in org.apache.tapestry5 that implement OptionModel
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractOptionModel` Base class for implementing `OptionModel`.

    Methods in org.apache.tapestry5 that return types with arguments of type OptionModel
    Modifier and Type | Method and Description
    --- | ---
    `List<OptionModel>` | SelectModel.`getOptions()` The list of ungrouped options, which appear after any grouped options.
    `List<OptionModel>` | OptionGroupModel.`getOptions()` The list of options within the group.

    Methods in org.apache.tapestry5 with parameters of type OptionModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | SelectModelVisitor.`option(OptionModel optionModel)` Invoked for each option within a group, and at the end, for each ungrouped option.

  - ### Uses of OptionModel in org.apache.tapestry5.internal

    Classes in org.apache.tapestry5.internal that implement OptionModel
    Modifier and Type | Class and Description
    --- | ---
    `class` | `OptionModelImpl`

    Methods in org.apache.tapestry5.internal that return OptionModel
    Modifier and Type | Method and Description
    --- | ---
    `static OptionModel` | TapestryInternalUtils.`toOptionModel(Map.Entry input)` Converts a map entry to an `OptionModel`.
    `static OptionModel` | TapestryInternalUtils.`toOptionModel(Object input)` Converts an object to an `OptionModel`.
    `static OptionModel` | TapestryInternalUtils.`toOptionModel(String input)` Converts a string to an `OptionModel`.

    Methods in org.apache.tapestry5.internal that return types with arguments of type OptionModel
    Modifier and Type | Method and Description
    --- | ---
    `List<OptionModel>` | OptionGroupModelImpl.`getOptions()`
    `List<OptionModel>` | SelectModelImpl.`getOptions()`
    `static <E> List<OptionModel>` | TapestryInternalUtils.`toOptionModels(List<E> input)` Processes a list input into a series of objects compatible with `TapestryInternalUtils.toOptionModel(Object)`.
    `static <K,V> List<OptionModel>` | TapestryInternalUtils.`toOptionModels(Map<K,V> input)` Processes a map input into a series of map entries compatible with `TapestryInternalUtils.toOptionModel(Map.Entry)`.
    `static List<OptionModel>` | TapestryInternalUtils.`toOptionModels(String input)` Parses a string input into a series of value=label pairs compatible with `TapestryInternalUtils.toOptionModel(String)`.

    Constructors in org.apache.tapestry5.internal with parameters of type OptionModel
    Constructor and Description
    `SelectModelImpl(OptionModel... optionModels)`

    Constructor parameters in org.apache.tapestry5.internal with type arguments of type OptionModel
    Constructor and Description
    `OptionGroupModelImpl(String label, boolean disabled, List<OptionModel> options, Map<String,String> attributes)`
    `OptionGroupModelImpl(String label, boolean disabled, List<OptionModel> options, String... attributeKeysAndValues)`
    `SelectModelImpl(List<OptionGroupModel> optionGroups, List<OptionModel> optionModels)`

  - ### Uses of OptionModel in org.apache.tapestry5.internal.util

    Methods in org.apache.tapestry5.internal.util with parameters of type OptionModel
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | SelectModelRenderer.`isOptionSelected(OptionModel optionModel, String clientValue)` If true, then the selected attribute will be written.
    `void` | SelectModelRenderer.`option(OptionModel optionModel)`

  - ### Uses of OptionModel in org.apache.tapestry5.util

    Methods in org.apache.tapestry5.util that return types with arguments of type OptionModel
    Modifier and Type | Method and Description
    --- | ---
    `List<OptionModel>` | EnumSelectModel.`getOptions()` Returns the option groups created in the constructor.

5.6.1 - Copyright © 2003-2020 The Apache Software Foundation.