org.ofbiz.widget.form
Class ModelFormField.DropDownField
java.lang.Object
org.ofbiz.widget.form.ModelFormField.FieldInfo
org.ofbiz.widget.form.ModelFormField.FieldInfoWithOptions
org.ofbiz.widget.form.ModelFormField.DropDownField
- Enclosing class:
- ModelFormField
public static class ModelFormField.DropDownField
- extends ModelFormField.FieldInfoWithOptions
Fields inherited from class org.ofbiz.widget.form.ModelFormField.FieldInfo |
CHECK, DATE_TIME, DATEQBE, DISPLAY, DISPLAY_ENTITY, DROP_DOWN, fieldSource, fieldType, fieldTypeByName, FILE, HIDDEN, HYPERLINK, IGNORED, IMAGE, LOOKUP, modelFormField, PASSWORD, RADIO, RANGEQBE, RESET, SOURCE_AUTO_ENTITY, SOURCE_AUTO_SERVICE, SOURCE_EXPLICIT, SUBMIT, TEXT, TEXTAREA, TEXTQBE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allowEmpty
protected boolean allowEmpty
allowMulti
protected boolean allowMulti
current
protected java.lang.String current
size
protected java.lang.String size
currentDescription
protected FlexibleStringExpander currentDescription
subHyperlink
protected ModelFormField.SubHyperlink subHyperlink
otherFieldSize
protected int otherFieldSize
autoComplete
protected ModelFormField.AutoComplete autoComplete
ModelFormField.DropDownField
protected ModelFormField.DropDownField()
ModelFormField.DropDownField
public ModelFormField.DropDownField(ModelFormField modelFormField)
ModelFormField.DropDownField
public ModelFormField.DropDownField(int fieldSource,
ModelFormField modelFormField)
ModelFormField.DropDownField
public ModelFormField.DropDownField(org.w3c.dom.Element element,
ModelFormField modelFormField)
renderFieldString
public void renderFieldString(java.lang.Appendable writer,
java.util.Map<java.lang.String,java.lang.Object> context,
FormStringRenderer formStringRenderer)
throws java.io.IOException
- Specified by:
renderFieldString
in class ModelFormField.FieldInfo
- Throws:
java.io.IOException
isAllowEmpty
public boolean isAllowEmpty()
isAllowMultiple
public boolean isAllowMultiple()
getCurrent
public java.lang.String getCurrent()
getCurrentDescription
public java.lang.String getCurrentDescription(java.util.Map<java.lang.String,java.lang.Object> context)
setAllowEmpty
public void setAllowEmpty(boolean b)
setCurrent
public void setCurrent(java.lang.String string)
setCurrentDescription
public void setCurrentDescription(java.lang.String string)
getSubHyperlink
public ModelFormField.SubHyperlink getSubHyperlink()
setSubHyperlink
public void setSubHyperlink(ModelFormField.SubHyperlink newSubHyperlink)
getAutoComplete
public ModelFormField.AutoComplete getAutoComplete()
setAutoComplete
public void setAutoComplete(ModelFormField.AutoComplete newAutoComplete)
getOtherFieldSize
public int getOtherFieldSize()
getSize
public java.lang.String getSize()
getParameterNameOther
public java.lang.String getParameterNameOther(java.util.Map<java.lang.String,java.lang.Object> context)
- Get the name to use for the parameter for this field in the form interpreter.
For HTML forms this is the request parameter name.
- Returns: