Package org.apache.ofbiz.widget.model
Class ModelFormField.FieldInfoWithOptions
- java.lang.Object
-
- org.apache.ofbiz.widget.model.FieldInfo
-
- org.apache.ofbiz.widget.model.ModelFormField.FieldInfoWithOptions
-
- Direct Known Subclasses:
ModelFormField.CheckField
,ModelFormField.DropDownField
,ModelFormField.RadioField
- Enclosing class:
- ModelFormField
public abstract static class ModelFormField.FieldInfoWithOptions extends FieldInfo
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.widget.model.FieldInfo
CHECK, CONTAINER, DATE_TIME, DATEQBE, DISPLAY, DISPLAY_ENTITY, DROP_DOWN, FILE, FORM, GRID, HIDDEN, HYPERLINK, IGNORED, IMAGE, LOOKUP, MENU, module, PASSWORD, RADIO, RANGEQBE, RESET, SCREEN, SOURCE_AUTO_ENTITY, SOURCE_AUTO_SERVICE, SOURCE_EXPLICIT, SUBMIT, TEXT, TEXTAREA, TEXTQBE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FieldInfoWithOptions(int fieldSource, int fieldType, java.util.List<ModelFormField.OptionSource> optionSources)
FieldInfoWithOptions(int fieldSource, int fieldType, ModelFormField modelFormField)
protected
FieldInfoWithOptions(ModelFormField.FieldInfoWithOptions original, ModelFormField modelFormField)
FieldInfoWithOptions(org.w3c.dom.Element element, ModelFormField modelFormField)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ModelFormField.OptionValue>
getAllOptionValues(java.util.Map<java.lang.String,java.lang.Object> context, Delegator delegator)
static java.lang.String
getDescriptionForOptionKey(java.lang.String key, java.util.List<ModelFormField.OptionValue> allOptionValues)
FlexibleStringExpander
getNoCurrentSelectedKey()
java.lang.String
getNoCurrentSelectedKey(java.util.Map<java.lang.String,java.lang.Object> context)
java.util.List<ModelFormField.OptionSource>
getOptionSources()
-
Methods inherited from class org.apache.ofbiz.widget.model.FieldInfo
accept, copy, findFieldTypeFromName, getFieldSource, getFieldType, getModelFormField, isInputFieldType, renderFieldString, toString
-
-
-
-
Constructor Detail
-
FieldInfoWithOptions
public FieldInfoWithOptions(org.w3c.dom.Element element, ModelFormField modelFormField)
-
FieldInfoWithOptions
protected FieldInfoWithOptions(ModelFormField.FieldInfoWithOptions original, ModelFormField modelFormField)
-
FieldInfoWithOptions
protected FieldInfoWithOptions(int fieldSource, int fieldType, java.util.List<ModelFormField.OptionSource> optionSources)
-
FieldInfoWithOptions
public FieldInfoWithOptions(int fieldSource, int fieldType, ModelFormField modelFormField)
-
-
Method Detail
-
getDescriptionForOptionKey
public static java.lang.String getDescriptionForOptionKey(java.lang.String key, java.util.List<ModelFormField.OptionValue> allOptionValues)
-
getAllOptionValues
public java.util.List<ModelFormField.OptionValue> getAllOptionValues(java.util.Map<java.lang.String,java.lang.Object> context, Delegator delegator)
-
getNoCurrentSelectedKey
public FlexibleStringExpander getNoCurrentSelectedKey()
-
getNoCurrentSelectedKey
public java.lang.String getNoCurrentSelectedKey(java.util.Map<java.lang.String,java.lang.Object> context)
-
getOptionSources
public java.util.List<ModelFormField.OptionSource> getOptionSources()
-
-