Package org.apache.ofbiz.widget.model
Class ModelFormField.TextFindField
- java.lang.Object
-
- org.apache.ofbiz.widget.model.FieldInfo
-
- org.apache.ofbiz.widget.model.ModelFormField.TextField
-
- org.apache.ofbiz.widget.model.ModelFormField.TextFindField
-
- Enclosing class:
- ModelFormField
public static class ModelFormField.TextFindField extends ModelFormField.TextField
Models the <text-find> element.- See Also:
widget-form.xsd
-
-
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 Constructor Description TextFindField(int fieldSource, int size, java.lang.Integer maxlength, ModelFormField modelFormField)
TextFindField(int fieldSource, ModelFormField modelFormField)
TextFindField(org.w3c.dom.Element element, ModelFormField modelFormField)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelFieldVisitor visitor)
FieldInfo
copy(ModelFormField modelFormField)
Returns a new instance of this object.java.lang.String
getDefaultOption()
java.lang.String
getDefaultOption(java.util.Map<java.lang.String,java.lang.Object> context)
boolean
getHideIgnoreCase()
boolean
getHideOptions()
boolean
getIgnoreCase()
boolean
getIgnoreCase(java.util.Map<java.lang.String,java.lang.Object> context)
void
renderFieldString(java.lang.Appendable writer, java.util.Map<java.lang.String,java.lang.Object> context, FormStringRenderer formStringRenderer)
-
Methods inherited from class org.apache.ofbiz.widget.model.ModelFormField.TextField
getClientAutocompleteField, getDefaultValue, getDefaultValue, getDisabled, getMask, getMaxlength, getPlaceholder, getPlaceholder, getReadonly, getSize, getSubHyperlink
-
Methods inherited from class org.apache.ofbiz.widget.model.FieldInfo
findFieldTypeFromName, getFieldSource, getFieldType, getModelFormField, isInputFieldType, toString
-
-
-
-
Constructor Detail
-
TextFindField
public TextFindField(org.w3c.dom.Element element, ModelFormField modelFormField)
-
TextFindField
public TextFindField(int fieldSource, int size, java.lang.Integer maxlength, ModelFormField modelFormField)
-
TextFindField
public TextFindField(int fieldSource, ModelFormField modelFormField)
-
-
Method Detail
-
accept
public void accept(ModelFieldVisitor visitor) throws java.lang.Exception
- Overrides:
accept
in classModelFormField.TextField
- Throws:
java.lang.Exception
-
copy
public FieldInfo copy(ModelFormField modelFormField)
Description copied from class:FieldInfo
Returns a new instance of this object.- Overrides:
copy
in classModelFormField.TextField
-
getDefaultOption
public java.lang.String getDefaultOption()
-
getDefaultOption
public java.lang.String getDefaultOption(java.util.Map<java.lang.String,java.lang.Object> context)
-
getHideIgnoreCase
public boolean getHideIgnoreCase()
-
getHideOptions
public boolean getHideOptions()
-
getIgnoreCase
public boolean getIgnoreCase()
-
getIgnoreCase
public boolean getIgnoreCase(java.util.Map<java.lang.String,java.lang.Object> context)
-
renderFieldString
public void renderFieldString(java.lang.Appendable writer, java.util.Map<java.lang.String,java.lang.Object> context, FormStringRenderer formStringRenderer) throws java.io.IOException
- Overrides:
renderFieldString
in classModelFormField.TextField
- Throws:
java.io.IOException
-
-