Package org.apache.ofbiz.widget.model
Class ModelFormField.ListOptions
- java.lang.Object
-
- org.apache.ofbiz.widget.model.ModelFormField.OptionSource
-
- org.apache.ofbiz.widget.model.ModelFormField.ListOptions
-
- Enclosing class:
- ModelFormField
public static class ModelFormField.ListOptions extends ModelFormField.OptionSource
Models the <list-options> element.- See Also:
widget-form.xsd
-
-
Constructor Summary
Constructors Constructor Description ListOptions(java.lang.String listName, java.lang.String listEntryName, java.lang.String keyName, java.lang.String description, ModelFormField modelFormField)
ListOptions(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()
FlexibleMapAccessor<java.lang.Object>
getKeyAcsr()
FlexibleMapAccessor<java.util.List<? extends java.lang.Object>>
getListAcsr()
java.lang.String
getListEntryName()
-
Methods inherited from class org.apache.ofbiz.widget.model.ModelFormField.OptionSource
getModelFormField
-
-
-
-
Constructor Detail
-
ListOptions
public ListOptions(org.w3c.dom.Element optionElement, ModelFormField modelFormField)
-
ListOptions
public ListOptions(java.lang.String listName, java.lang.String listEntryName, java.lang.String keyName, 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()
-
getKeyAcsr
public FlexibleMapAccessor<java.lang.Object> getKeyAcsr()
-
getListAcsr
public FlexibleMapAccessor<java.util.List<? extends java.lang.Object>> getListAcsr()
-
getListEntryName
public java.lang.String getListEntryName()
-
-