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
public static class ModelFormField.CheckField extends ModelFormField.FieldInfoWithOptions
Models the <check> element.- See Also:
widget-form.xsd
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ROW_SUBMIT_FIELD_NAME
-
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 CheckField(int fieldSource, ModelFormField modelFormField)
CheckField(ModelFormField modelFormField)
CheckField(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.FlexibleStringExpander
getAllChecked()
boolean
getDisabled()
java.lang.Boolean
isAllChecked(java.util.Map<java.lang.String,java.lang.Object> context)
void
renderFieldString(java.lang.Appendable writer, java.util.Map<java.lang.String,java.lang.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 Detail
-
ROW_SUBMIT_FIELD_NAME
public static final java.lang.String ROW_SUBMIT_FIELD_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CheckField
public CheckField(org.w3c.dom.Element element, ModelFormField modelFormField)
-
CheckField
public CheckField(int fieldSource, ModelFormField modelFormField)
-
CheckField
public CheckField(ModelFormField modelFormField)
-
-
Method Detail
-
accept
public void accept(ModelFieldVisitor visitor) throws java.lang.Exception
-
copy
public FieldInfo copy(ModelFormField modelFormField)
Description copied from class:FieldInfo
Returns a new instance of this object.
-
getAllChecked
public FlexibleStringExpander getAllChecked()
-
isAllChecked
public java.lang.Boolean isAllChecked(java.util.Map<java.lang.String,java.lang.Object> context)
-
getDisabled
public boolean getDisabled()
-
renderFieldString
public void renderFieldString(java.lang.Appendable writer, java.util.Map<java.lang.String,java.lang.Object> context, FormStringRenderer formStringRenderer) throws java.io.IOException
- Specified by:
renderFieldString
in classFieldInfo
- Throws:
java.io.IOException
-
-