## 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 | 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 | Description
    --- | --- | ---
    `java.util.List<OptionModel>` | OptionGroupModel.`getOptions()` | The list of options within the group.
    `java.util.List<OptionModel>` | SelectModel.`getOptions()` | The list of ungrouped options, which appear after any grouped options.

    Methods in org.apache.tapestry5 with parameters of type OptionModel
    Modifier and Type | Method | 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 | Description
    --- | --- | ---
    `class` | `OptionModelImpl` |

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

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

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

    Constructor parameters in org.apache.tapestry5.internal with type arguments of type OptionModel
    Constructor | Description
    --- | ---
    `OptionGroupModelImpl​(java.lang.String label, boolean disabled, java.util.List<OptionModel> options, java.lang.String... attributeKeysAndValues)` |
    `OptionGroupModelImpl​(java.lang.String label, boolean disabled, java.util.List<OptionModel> options, java.util.Map<java.lang.String,​java.lang.String> attributes)` |

  - ### 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 | Description
    --- | --- | ---
    `protected boolean` | SelectModelRenderer.`isOptionSelected​(OptionModel optionModel, java.lang.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 | Description
    --- | --- | ---
    `java.util.List<OptionModel>` | EnumSelectModel.`getOptions()` | Returns the option groups created in the constructor.