Package org.apache.tapestry5.internal
Class OptionModelImpl
java.lang.Object
org.apache.tapestry5.AbstractOptionModel
org.apache.tapestry5.internal.OptionModelImpl
- All Implemented Interfaces:
OptionModel
-
Constructor Summary
ConstructorsConstructorDescriptionOptionModelImpl
(String value) Constructor for when the value and the label are the same.OptionModelImpl
(String label, Object value) -
Method Summary
Methods inherited from class org.apache.tapestry5.AbstractOptionModel
getAttributes, isDisabled
-
Constructor Details
-
OptionModelImpl
Constructor for when the value and the label are the same. -
OptionModelImpl
-
-
Method Details
-
getLabel
Description copied from interface:OptionModel
The localized, user-presentable label for the option. -
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
-