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 implementingOptionModel. Subclasses must implementOptionModel.getLabel()andOptionModel.getValue()}. 
- 
- 
Constructor Summary
Constructors Constructor Description AbstractOptionModel() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getAttributes()Returns null.booleanisDisabled()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:
 isDisabledin interfaceOptionModel
 
- 
getAttributes
public Map<String,String> getAttributes()
Returns null.- Specified by:
 getAttributesin interfaceOptionModel
 
 - 
 
 -