Package org.apache.tapestry5

## Class AbstractOptionModel

- java.lang.Object
- - org.apache.tapestry5.AbstractOptionModel

- All Implemented Interfaces:
    `OptionModel`
  Direct Known Subclasses:
    `OptionModelImpl`

      public abstract class AbstractOptionModel
      extends java.lang.Object
      implements OptionModel

  Base class for implementing `OptionModel`. Subclasses must implement `OptionModel.getLabel()` and `OptionModel.getValue()` }.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AbstractOptionModel()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.Map<java.lang.String,​java.lang.String>` | `getAttributes()` | Returns null.
    `boolean` | `isDisabled()` | Returns false.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.tapestry5.OptionModel

      `getLabel, getValue`

- - ### Constructor Detail

    - #### AbstractOptionModel

          public AbstractOptionModel()

  - ### Method Detail

    - #### isDisabled

          public boolean isDisabled()

      Returns false.
      Specified by:
        `isDisabled` in interface `OptionModel`

    - #### getAttributes

          public java.util.Map<java.lang.String,​java.lang.String> getAttributes()

      Returns null.
      Specified by:
        `getAttributes` in interface `OptionModel`