Package org.apache.ofbiz.widget.model
Class ModelFormField.SingleOption
- java.lang.Object
-
- org.apache.ofbiz.widget.model.ModelFormField.OptionSource
-
- org.apache.ofbiz.widget.model.ModelFormField.SingleOption
-
- Enclosing class:
- ModelFormField
public static class ModelFormField.SingleOption extends ModelFormField.OptionSource
Models the <option> element.- See Also:
widget-form.xsd
-
-
Constructor Summary
Constructors Constructor Description SingleOption(java.lang.String key, java.lang.String description, ModelFormField modelFormField)
SingleOption(org.w3c.dom.Element optionElement, ModelFormField modelFormField)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOptionValues(java.util.List<ModelFormField.OptionValue> optionValues, java.util.Map<java.lang.String,java.lang.Object> context, Delegator delegator)
ModelFormField.OptionSource
copy(ModelFormField modelFormField)
FlexibleStringExpander
getDescription()
FlexibleStringExpander
getKey()
-
Methods inherited from class org.apache.ofbiz.widget.model.ModelFormField.OptionSource
getModelFormField
-
-
-
-
Constructor Detail
-
SingleOption
public SingleOption(org.w3c.dom.Element optionElement, ModelFormField modelFormField)
-
SingleOption
public SingleOption(java.lang.String key, java.lang.String description, ModelFormField modelFormField)
-
-
Method Detail
-
addOptionValues
public void addOptionValues(java.util.List<ModelFormField.OptionValue> optionValues, java.util.Map<java.lang.String,java.lang.Object> context, Delegator delegator)
- Specified by:
addOptionValues
in classModelFormField.OptionSource
-
copy
public ModelFormField.OptionSource copy(ModelFormField modelFormField)
- Specified by:
copy
in classModelFormField.OptionSource
-
getDescription
public FlexibleStringExpander getDescription()
-
getKey
public FlexibleStringExpander getKey()
-
-