Package org.apache.ofbiz.widget.model
Class ModelFormField.GridField
java.lang.Object
org.apache.ofbiz.widget.model.FieldInfo
org.apache.ofbiz.widget.model.ModelFormField.GridField
- Enclosing class:
- ModelFormField
Models the <include-grid> 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ModelFieldVisitor visitor) copy
(ModelFormField modelFormField) Returns a new instance of this object.Gets grid location.getGridLocation
(Map<String, Object> context) Gets grid location.Gets grid name.getGridName
(Map<String, Object> context) Gets grid name.getModelGrid
(Map<String, Object> context) Gets model grid.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
-
GridField
-
-
Method Details
-
accept
-
copy
Description copied from class:FieldInfo
Returns a new instance of this object. -
getGridName
Gets grid name.- Parameters:
context
- the context- Returns:
- the grid name
-
getGridName
Gets grid name.- Returns:
- the grid name
-
getGridLocation
Gets grid location.- Parameters:
context
- the context- Returns:
- the grid location
-
getGridLocation
Gets grid location.- Returns:
- the grid location
-
renderFieldString
public void renderFieldString(Appendable writer, Map<String, Object> context, FormStringRenderer formStringRenderer) throws IOException- Specified by:
renderFieldString
in classFieldInfo
- Throws:
IOException
-
getModelGrid
Gets model grid.- Parameters:
context
- the context- Returns:
- the model grid
-