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 Object
      implements OptionModel

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractOptionModel()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,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 Map<String,String> getAttributes()

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

${project.version} - Copyright © 2003-2014 The Apache Software Foundation.