Package org.apache.ofbiz.widget.model
Class ModelForm.FieldGroup
java.lang.Object
org.apache.ofbiz.widget.model.ModelForm.FieldGroup
- All Implemented Interfaces:
ModelForm.FieldGroupBase
- Enclosing class:
- ModelForm
-
Constructor Summary
ConstructorDescriptionFieldGroup
(Element sortOrderElement, ModelForm modelForm, List<ModelForm.SortField> sortOrderFields, Map<String, ModelForm.FieldGroupBase> fieldGroupMap) -
Method Summary
Modifier and TypeMethodDescriptionCollapsible boolean.getId()
Gets id.getStyle()
Gets style.getTitle()
Gets title.Initially collapsed boolean.void
renderEndString
(Appendable writer, Map<String, Object> context, FormStringRenderer formStringRenderer) Render end string.void
renderStartString
(Appendable writer, Map<String, Object> context, FormStringRenderer formStringRenderer) Render start string.boolean
Should use boolean.
-
Constructor Details
-
FieldGroup
public FieldGroup(Element sortOrderElement, ModelForm modelForm, List<ModelForm.SortField> sortOrderFields, Map<String, ModelForm.FieldGroupBase> fieldGroupMap)
-
-
Method Details
-
collapsible
Collapsible boolean.- Returns:
- the boolean
-
getId
Gets id.- Returns:
- the id
-
getStyle
Gets style.- Returns:
- the style
-
getTitle
Gets title.- Returns:
- the title
-
initiallyCollapsed
Initially collapsed boolean.- Returns:
- the boolean
-
renderEndString
public void renderEndString(Appendable writer, Map<String, Object> context, FormStringRenderer formStringRenderer) throws IOExceptionRender end string.- Parameters:
writer
- the writercontext
- the contextformStringRenderer
- the form string renderer- Throws:
IOException
- the io exception
-
renderStartString
public void renderStartString(Appendable writer, Map<String, Object> context, FormStringRenderer formStringRenderer) throws IOExceptionRender start string.- Parameters:
writer
- the writercontext
- the contextformStringRenderer
- the form string renderer- Throws:
IOException
- the io exception
-
shouldUse
Should use boolean.- Parameters:
context
- the context- Returns:
- the boolean
-