Package org.apache.tapestry5.internal
Class OptionModelImpl
-
- org.apache.tapestry5.AbstractOptionModel
-
- org.apache.tapestry5.internal.OptionModelImpl
-
- All Implemented Interfaces:
OptionModel
public class OptionModelImpl extends AbstractOptionModel
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description getLabel()
The localized, user-presentable label for the option.getValue()
The server-side value represented by this option.toString()
-
Methods inherited from class org.apache.tapestry5.AbstractOptionModel
getAttributes, isDisabled
-
-
-
-
Method Detail
-
getLabel
public getLabel()
Description copied from interface:OptionModel
The localized, user-presentable label for the option.
-
getValue
public getValue()
Description copied from interface:OptionModel
The server-side value represented by this option. This is used to determine which option will be selected. It is also used, viaValueEncoder.toClient(Object)
, to generate the client-side value attribute.
-
toString
public toString()
- Overrides:
in class
-
-