org.ofbiz.widget.form
Class ModelFormField.FieldInfo
java.lang.Object
org.ofbiz.widget.form.ModelFormField.FieldInfo
- Direct Known Subclasses:
- ModelFormField.DateTimeField, ModelFormField.DisplayField, ModelFormField.FieldInfoWithOptions, ModelFormField.HiddenField, ModelFormField.HyperlinkField, ModelFormField.IgnoredField, ModelFormField.ImageField, ModelFormField.ResetField, ModelFormField.SubmitField, ModelFormField.TextareaField, ModelFormField.TextField
- Enclosing class:
- ModelFormField
public abstract static class ModelFormField.FieldInfo
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DISPLAY
public static final int DISPLAY
- See Also:
- Constant Field Values
HYPERLINK
public static final int HYPERLINK
- See Also:
- Constant Field Values
TEXT
public static final int TEXT
- See Also:
- Constant Field Values
TEXTAREA
public static final int TEXTAREA
- See Also:
- Constant Field Values
DATE_TIME
public static final int DATE_TIME
- See Also:
- Constant Field Values
DROP_DOWN
public static final int DROP_DOWN
- See Also:
- Constant Field Values
CHECK
public static final int CHECK
- See Also:
- Constant Field Values
RADIO
public static final int RADIO
- See Also:
- Constant Field Values
SUBMIT
public static final int SUBMIT
- See Also:
- Constant Field Values
RESET
public static final int RESET
- See Also:
- Constant Field Values
HIDDEN
public static final int HIDDEN
- See Also:
- Constant Field Values
IGNORED
public static final int IGNORED
- See Also:
- Constant Field Values
TEXTQBE
public static final int TEXTQBE
- See Also:
- Constant Field Values
DATEQBE
public static final int DATEQBE
- See Also:
- Constant Field Values
RANGEQBE
public static final int RANGEQBE
- See Also:
- Constant Field Values
LOOKUP
public static final int LOOKUP
- See Also:
- Constant Field Values
FILE
public static final int FILE
- See Also:
- Constant Field Values
PASSWORD
public static final int PASSWORD
- See Also:
- Constant Field Values
IMAGE
public static final int IMAGE
- See Also:
- Constant Field Values
DISPLAY_ENTITY
public static final int DISPLAY_ENTITY
- See Also:
- Constant Field Values
SOURCE_EXPLICIT
public static final int SOURCE_EXPLICIT
- See Also:
- Constant Field Values
SOURCE_AUTO_ENTITY
public static final int SOURCE_AUTO_ENTITY
- See Also:
- Constant Field Values
SOURCE_AUTO_SERVICE
public static final int SOURCE_AUTO_SERVICE
- See Also:
- Constant Field Values
fieldTypeByName
public static java.util.Map<java.lang.String,java.lang.Integer> fieldTypeByName
fieldType
protected int fieldType
fieldSource
protected int fieldSource
modelFormField
protected ModelFormField modelFormField
ModelFormField.FieldInfo
protected ModelFormField.FieldInfo()
- Don't allow the Default Constructor
ModelFormField.FieldInfo
public ModelFormField.FieldInfo(int fieldSource,
int fieldType,
ModelFormField modelFormField)
- Value Constructor
ModelFormField.FieldInfo
public ModelFormField.FieldInfo(org.w3c.dom.Element element,
ModelFormField modelFormField)
- XML Constructor
getModelFormField
public ModelFormField getModelFormField()
getFieldType
public int getFieldType()
getFieldSource
public int getFieldSource()
findFieldTypeFromName
public static int findFieldTypeFromName(java.lang.String name)
renderFieldString
public abstract void renderFieldString(java.lang.Appendable writer,
java.util.Map<java.lang.String,java.lang.Object> context,
FormStringRenderer formStringRenderer)
throws java.io.IOException
- Throws:
java.io.IOException