Package org.apache.ofbiz.widget.model
Class ModelFormField.DateFindField
java.lang.Object
org.apache.ofbiz.widget.model.FieldInfo
org.apache.ofbiz.widget.model.ModelFormField.DateTimeField
org.apache.ofbiz.widget.model.ModelFormField.DateFindField
- Enclosing class:
- ModelFormField
Models the <date-find> 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
ConstructorDescriptionDateFindField
(int fieldSource, String type) DateFindField
(int fieldSource, ModelFormField modelFormField) DateFindField
(Element element, ModelFormField modelFormField) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ModelFieldVisitor visitor) copy
(ModelFormField modelFormField) Returns a new instance of this object.Gets default option from.getDefaultOptionFrom
(Map<String, Object> context) Gets default option from.Gets default option thru.getDefaultOptionThru
(Map<String, Object> context) Gets default option thru.void
renderFieldString
(Appendable writer, Map<String, Object> context, FormStringRenderer formStringRenderer) Methods inherited from class org.apache.ofbiz.widget.model.ModelFormField.DateTimeField
getDefaultDateTimeString, getDefaultValue, getDefaultValue, getInputMethod, getStep, isDateType, isTimestampType, isTimeType, isTwelveHour, useMask
Methods inherited from class org.apache.ofbiz.widget.model.FieldInfo
findFieldTypeFromName, getFieldSource, getFieldType, getModelFormField, isInputFieldType, toString
-
Constructor Details
-
DateFindField
-
DateFindField
-
DateFindField
-
-
Method Details
-
accept
- Overrides:
accept
in classModelFormField.DateTimeField
- Throws:
Exception
-
copy
Description copied from class:FieldInfo
Returns a new instance of this object.- Overrides:
copy
in classModelFormField.DateTimeField
-
getDefaultOptionFrom
Gets default option from.- Returns:
- the default option from
-
getDefaultOptionFrom
Gets default option from.- Parameters:
context
- the context- Returns:
- the default option from
-
getDefaultOptionThru
Gets default option thru.- Returns:
- the default option thru
-
getDefaultOptionThru
Gets default option thru.- Parameters:
context
- the context- Returns:
- the default option thru
-
renderFieldString
public void renderFieldString(Appendable writer, Map<String, Object> context, FormStringRenderer formStringRenderer) throws IOException- Overrides:
renderFieldString
in classModelFormField.DateTimeField
- Throws:
IOException
-