Package org.apache.ofbiz.widget.model
Class ModelFormField.ImageField
java.lang.Object
org.apache.ofbiz.widget.model.FieldInfo
org.apache.ofbiz.widget.model.ModelFormField.ImageField
- Enclosing class:
- ModelFormField
Models the <image> 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, PASSWORD, RADIO, RANGEQBE, RESET, SCREEN, SOURCE_AUTO_ENTITY, SOURCE_AUTO_SERVICE, SOURCE_EXPLICIT, SUBMIT, TEXT, TEXTAREA, TEXTQBE
-
Constructor Summary
ConstructorDescriptionImageField
(int fieldSource, ModelFormField modelFormField) ImageField
(ModelFormField modelFormField) ImageField
(ModelFormField.ImageField original, ModelFormField modelFormField) ImageField
(Element element, ModelFormField modelFormField) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ModelFieldVisitor visitor) copy
(ModelFormField modelFormField) Returns a new instance of this object.Gets alternate.getAlternate
(Map<String, Object> context) Gets alternate.Gets default value.getDefaultValue
(Map<String, Object> context) Gets default value.Gets description.getDescription
(Map<String, Object> context) Gets description.getStyle()
Gets style.Gets style.Gets sub hyperlink.getValue()
Gets value.Gets value.void
renderFieldString
(Appendable writer, Map<String, Object> context, FormStringRenderer formStringRenderer) Methods inherited from class org.apache.ofbiz.widget.model.FieldInfo
findFieldTypeFromName, getFieldSource, getFieldType, getModelFormField, isInputFieldType, toString
-
Constructor Details
-
ImageField
-
ImageField
-
ImageField
-
ImageField
-
-
Method Details
-
accept
-
copy
Description copied from class:FieldInfo
Returns a new instance of this object. -
getAlternate
Gets alternate.- Returns:
- the alternate
-
getAlternate
Gets alternate.- Parameters:
context
- the context- Returns:
- the alternate
-
getDefaultValue
Gets default value.- Returns:
- the default value
-
getDefaultValue
Gets default value.- Parameters:
context
- the context- Returns:
- the default value
-
getDescription
Gets description.- Returns:
- the description
-
getDescription
Gets description.- Parameters:
context
- the context- Returns:
- the description
-
getStyle
Gets style.- Returns:
- the style
-
getStyle
Gets style.- Parameters:
context
- the context- Returns:
- the style
-
getSubHyperlink
Gets sub hyperlink.- Returns:
- the sub hyperlink
-
getValue
Gets value.- Returns:
- the value
-
getValue
Gets value.- Parameters:
context
- the context- Returns:
- the value
-
renderFieldString
public void renderFieldString(Appendable writer, Map<String, Object> context, FormStringRenderer formStringRenderer) throws IOException- Specified by:
renderFieldString
in classFieldInfo
- Throws:
IOException
-