Package org.apache.ofbiz.widget.model
Class ModelFormField.DisplayEntityField
- java.lang.Object
-
- org.apache.ofbiz.widget.model.FieldInfo
-
- org.apache.ofbiz.widget.model.ModelFormField.DisplayField
-
- org.apache.ofbiz.widget.model.ModelFormField.DisplayEntityField
-
- Enclosing class:
- ModelFormField
public static class ModelFormField.DisplayEntityField extends ModelFormField.DisplayField
Models the <display-entity> 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 DisplayEntityField(int fieldSource, ModelFormField modelFormField)
DisplayEntityField(ModelFormField modelFormField)
DisplayEntityField(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.boolean
getCache()
java.lang.String
getDescription(java.util.Map<java.lang.String,java.lang.Object> context)
java.lang.String
getEntityName()
java.lang.String
getKeyFieldName()
ModelFormField.SubHyperlink
getSubHyperlink()
-
Methods inherited from class org.apache.ofbiz.widget.model.ModelFormField.DisplayField
getAlsoHidden, getCurrency, getDate, getDefaultValue, getDefaultValue, getDescription, getImageLocation, getImageLocation, getInPlaceEditor, getSize, getType, renderFieldString
-
Methods inherited from class org.apache.ofbiz.widget.model.FieldInfo
findFieldTypeFromName, getFieldSource, getFieldType, getModelFormField, isInputFieldType, toString
-
-
-
-
Constructor Detail
-
DisplayEntityField
public DisplayEntityField(org.w3c.dom.Element element, ModelFormField modelFormField)
-
DisplayEntityField
public DisplayEntityField(int fieldSource, ModelFormField modelFormField)
-
DisplayEntityField
public DisplayEntityField(ModelFormField modelFormField)
-
-
Method Detail
-
accept
public void accept(ModelFieldVisitor visitor) throws java.lang.Exception
- Overrides:
accept
in classModelFormField.DisplayField
- 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.DisplayField
-
getCache
public boolean getCache()
-
getDescription
public java.lang.String getDescription(java.util.Map<java.lang.String,java.lang.Object> context)
- Overrides:
getDescription
in classModelFormField.DisplayField
-
getEntityName
public java.lang.String getEntityName()
-
getKeyFieldName
public java.lang.String getKeyFieldName()
-
getSubHyperlink
public ModelFormField.SubHyperlink getSubHyperlink()
-
-