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 Object implements OptionModel
Base class for implementing `OptionModel`. Subclasses must implement `OptionModel.getLabel()` and `OptionModel.getValue()` }.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AbstractOptionModel()`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### AbstractOptionModel

    public AbstractOptionModel()

- ## Method Details

  - ### 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`