Package org.apache.ofbiz.widget.model
Class ModelFormField.CheckField
java.lang.Object
org.apache.ofbiz.widget.model.FieldInfo
org.apache.ofbiz.widget.model.ModelFormField.FieldInfoWithOptions
org.apache.ofbiz.widget.model.ModelFormField.CheckField
- Enclosing class:
- ModelFormField
Models the <check> 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
ConstructorDescriptionCheckField
(int fieldSource, ModelFormField modelFormField) CheckField
(ModelFormField modelFormField) CheckField
(Element element, ModelFormField modelFormField) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ModelFieldVisitor visitor) copy
(ModelFormField modelFormField) Returns a new instance of this object.Gets all checked.isAllChecked
(Map<String, Object> context) Is all checked boolean.void
renderFieldString
(Appendable writer, Map<String, Object> context, FormStringRenderer formStringRenderer) Methods inherited from class org.apache.ofbiz.widget.model.ModelFormField.FieldInfoWithOptions
getAllOptionValues, getDescriptionForOptionKey, getNoCurrentSelectedKey, getNoCurrentSelectedKey, getOptionSources
Methods inherited from class org.apache.ofbiz.widget.model.FieldInfo
findFieldTypeFromName, getFieldSource, getFieldType, getModelFormField, isInputFieldType, toString
-
Field Details
-
ROW_SUBMIT_FIELD_NAME
- See Also:
-
-
Constructor Details
-
CheckField
-
CheckField
-
CheckField
-
-
Method Details
-
accept
-
copy
Description copied from class:FieldInfo
Returns a new instance of this object. -
getAllChecked
Gets all checked.- Returns:
- the all checked
-
isAllChecked
Is all checked boolean.- Parameters:
context
- the context- Returns:
- the boolean
-
renderFieldString
public void renderFieldString(Appendable writer, Map<String, Object> context, FormStringRenderer formStringRenderer) throws IOException- Specified by:
renderFieldString
in classFieldInfo
- Throws:
IOException
-