Package org.apache.ofbiz.widget.model
Class ModelGrid
java.lang.Object
org.apache.ofbiz.widget.model.ModelWidget
org.apache.ofbiz.widget.model.ModelForm
org.apache.ofbiz.widget.model.ModelGrid
- All Implemented Interfaces:
Serializable
Models the <grid> element.
- See Also:
-
widget-form.xsd
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.ofbiz.widget.model.ModelForm
ModelForm.AltRowStyle, ModelForm.AltTarget, ModelForm.AutoFieldsEntity, ModelForm.AutoFieldsService, ModelForm.Banner, ModelForm.FieldGroup, ModelForm.FieldGroupBase, ModelForm.SortField, ModelForm.UpdateArea
Nested classes/interfaces inherited from class org.apache.ofbiz.widget.model.ModelWidget
ModelWidget.NamedBorderType
-
Field Summary
Fields inherited from class org.apache.ofbiz.widget.model.ModelForm
DEFAULT_FORM_RESULT_LIST_NAME, DEFAULT_PAG_FIRST_STYLE, DEFAULT_PAG_INDEX_FIELD, DEFAULT_PAG_LAST_STYLE, DEFAULT_PAG_NEXT_STYLE, DEFAULT_PAG_PREV_STYLE, DEFAULT_PAG_SIZE_FIELD, DEFAULT_PAG_STYLE, DEFAULT_PAGE_SIZE, DEFAULT_SORT_FIELD_ASC_STYLE, DEFAULT_SORT_FIELD_DESC_STYLE, DEFAULT_SORT_FIELD_STYLE, MAX_PAGE_SIZE
Fields inherited from class org.apache.ofbiz.widget.model.ModelWidget
ENABLE_BOUNDARY_COMMENTS_PARAM
-
Constructor Summary
ConstructorDescriptionModelGrid
(Element formElement, String formLocation, ModelReader entityModelReader, VisualTheme visualTheme, DispatchContext dispatchContext) XML Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ModelWidgetVisitor visitor) protected ModelForm
getParentModel
(Element gridElement, ModelReader entityModelReader, VisualTheme visualTheme, DispatchContext dispatchContext) Methods inherited from class org.apache.ofbiz.widget.model.ModelForm
getActions, getAltRowStyles, getAltTargets, getAutoFieldsEntities, getAutoFieldsServices, getBoundaryCommentName, getClientAutocompleteFields, getContainerId, getContainerStyle, getDefaultEntityName, getDefaultFieldGroup, getDefaultMap, getDefaultMapName, getDefaultRequiredFieldStyle, getDefaultServiceName, getDefaultSortFieldAscStyle, getDefaultSortFieldDescStyle, getDefaultSortFieldStyle, getDefaultTableStyle, getDefaultTitleAreaStyle, getDefaultTitleStyle, getDefaultTooltipStyle, getDefaultViewSize, getDefaultWidgetAreaStyle, getDefaultWidgetStyle, getEmptyFormDataMessage, getEvenRowStyle, getFieldGroupList, getFieldGroupMap, getFieldList, getFocusFieldName, getFormLocation, getFormTitleAreaStyle, getFormWidgetAreaStyle, getGroupColumns, getHeaderRowStyle, getHideHeader, getItemIndexSeparator, getLastOrderFields, getListEntryName, getListName, getMultiPaginateIndexField, getMultiPaginateSizeField, getMultiSubmitFields, getOddRowStyle, getOnPaginateUpdateAreas, getOnSortColumnUpdateAreas, getOnSubmitUpdateAreas, getOverrideListSize, getOverrideListSize, getPaginate, getPaginate, getPaginateFirstLabel, getPaginateFirstLabel, getPaginateFirstStyle, getPaginateIndexField, getPaginateIndexField, getPaginateLastLabel, getPaginateLastLabel, getPaginateLastStyle, getPaginateNextLabel, getPaginateNextLabel, getPaginateNextStyle, getPaginatePreviousLabel, getPaginatePreviousLabel, getPaginatePreviousStyle, getPaginateSizeField, getPaginateSizeField, getPaginateStyle, getPaginateTarget, getPaginateTarget, getPaginateTargetAnchor, getPaginateViewSizeLabel, getPaginateViewSizeLabel, getParentFormLocation, getParentFormName, getParentModelForm, getPassedRowCount, getRowActions, getRowCount, getSeparateColumns, getSkipEnd, getSkipStart, getSortField, getSortFieldParameterName, getSortOrderFields, getStyleAltRowStyle, getTarget, getTarget, getTargetType, getTargetWindow, getTargetWindow, getTitle, getTooltip, getType, getUseRowSubmit, getUseWhenFields, isOverridenListSize, runFormActions
Methods inherited from class org.apache.ofbiz.widget.model.ModelWidget
getName, getStartColumn, getStartLine, getSystemId, toString, widgetBoundaryCommentsEnabled, widgetNamedBorderType
-
Constructor Details
-
ModelGrid
public ModelGrid(Element formElement, String formLocation, ModelReader entityModelReader, VisualTheme visualTheme, DispatchContext dispatchContext) XML Constructor
-
-
Method Details
-
accept
- Specified by:
accept
in classModelWidget
- Throws:
Exception
-
getParentModel
protected ModelForm getParentModel(Element gridElement, ModelReader entityModelReader, VisualTheme visualTheme, DispatchContext dispatchContext) - Specified by:
getParentModel
in classModelForm
-