org.apache.tapestry5
Class AbstractOptionModel

java.lang.Object
  extended by 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
AbstractOptionModel()
           
 
Method Summary
 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


Copyright © 2003-2012 The Apache Software Foundation.