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
public static class ModelFormField.ImageField extends FieldInfo
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, module, PASSWORD, RADIO, RANGEQBE, RESET, SCREEN, SOURCE_AUTO_ENTITY, SOURCE_AUTO_SERVICE, SOURCE_EXPLICIT, SUBMIT, TEXT, TEXTAREA, TEXTQBE
-
-
Constructor Summary
Constructors Constructor Description ImageField(int fieldSource, ModelFormField modelFormField)
ImageField(ModelFormField modelFormField)
ImageField(ModelFormField.ImageField original, ModelFormField modelFormField)
ImageField(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.FlexibleStringExpander
getAlternate()
java.lang.String
getAlternate(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getDefaultValue()
java.lang.String
getDefaultValue(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getDescription()
java.lang.String
getDescription(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getStyle()
java.lang.String
getStyle(java.util.Map<java.lang.String,java.lang.Object> context)
ModelFormField.SubHyperlink
getSubHyperlink()
FlexibleStringExpander
getValue()
java.lang.String
getValue(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.FieldInfo
findFieldTypeFromName, getFieldSource, getFieldType, getModelFormField, isInputFieldType, toString
-
-
-
-
Constructor Detail
-
ImageField
public ImageField(org.w3c.dom.Element element, ModelFormField modelFormField)
-
ImageField
public ImageField(ModelFormField.ImageField original, ModelFormField modelFormField)
-
ImageField
public ImageField(int fieldSource, ModelFormField modelFormField)
-
ImageField
public ImageField(ModelFormField modelFormField)
-
-
Method Detail
-
accept
public void accept(ModelFieldVisitor visitor) throws java.lang.Exception
-
copy
public FieldInfo copy(ModelFormField modelFormField)
Description copied from class:FieldInfo
Returns a new instance of this object.
-
getAlternate
public FlexibleStringExpander getAlternate()
-
getAlternate
public java.lang.String getAlternate(java.util.Map<java.lang.String,java.lang.Object> context)
-
getDefaultValue
public FlexibleStringExpander getDefaultValue()
-
getDefaultValue
public java.lang.String getDefaultValue(java.util.Map<java.lang.String,java.lang.Object> context)
-
getDescription
public FlexibleStringExpander getDescription()
-
getDescription
public java.lang.String getDescription(java.util.Map<java.lang.String,java.lang.Object> context)
-
getStyle
public FlexibleStringExpander getStyle()
-
getStyle
public java.lang.String getStyle(java.util.Map<java.lang.String,java.lang.Object> context)
-
getSubHyperlink
public ModelFormField.SubHyperlink getSubHyperlink()
-
getValue
public FlexibleStringExpander getValue()
-
getValue
public java.lang.String getValue(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
- Specified by:
renderFieldString
in classFieldInfo
- Throws:
java.io.IOException
-
-