1 24 package org.ofbiz.widget.form; 25 26 import java.util.Map ; 27 28 36 public interface FormStringRenderer { 37 public void renderDisplayField(StringBuffer buffer, Map context, ModelFormField.DisplayField displayField); 38 public void renderHyperlinkField(StringBuffer buffer, Map context, ModelFormField.HyperlinkField hyperlinkField); 39 40 public void renderTextField(StringBuffer buffer, Map context, ModelFormField.TextField textField); 41 public void renderTextareaField(StringBuffer buffer, Map context, ModelFormField.TextareaField textareaField); 42 public void renderDateTimeField(StringBuffer buffer, Map context, ModelFormField.DateTimeField dateTimeField); 43 44 public void renderDropDownField(StringBuffer buffer, Map context, ModelFormField.DropDownField dropDownField); 45 public void renderCheckField(StringBuffer buffer, Map context, ModelFormField.CheckField checkField); 46 public void renderRadioField(StringBuffer buffer, Map context, ModelFormField.RadioField radioField); 47 48 public void renderSubmitField(StringBuffer buffer, Map context, ModelFormField.SubmitField submitField); 49 public void renderResetField(StringBuffer buffer, Map context, ModelFormField.ResetField resetField); 50 51 public void renderHiddenField(StringBuffer buffer, Map context, ModelFormField modelFormField, String value); 52 public void renderHiddenField(StringBuffer buffer, Map context, ModelFormField.HiddenField hiddenField); 53 public void renderIgnoredField(StringBuffer buffer, Map context, ModelFormField.IgnoredField ignoredField); 54 55 public void renderFieldTitle(StringBuffer buffer, Map context, ModelFormField modelFormField); 56 public void renderSingleFormFieldTitle(StringBuffer buffer, Map context, ModelFormField modelFormField); 57 58 public void renderFormOpen(StringBuffer buffer, Map context, ModelForm modelForm); 59 public void renderFormClose(StringBuffer buffer, Map context, ModelForm modelForm); 60 public void renderMultiFormClose(StringBuffer buffer, Map context, ModelForm modelForm); 61 62 public void renderFormatListWrapperOpen(StringBuffer buffer, Map context, ModelForm modelForm); 63 public void renderFormatListWrapperClose(StringBuffer buffer, Map context, ModelForm modelForm); 64 65 public void renderFormatHeaderRowOpen(StringBuffer buffer, Map context, ModelForm modelForm); 66 public void renderFormatHeaderRowClose(StringBuffer buffer, Map context, ModelForm modelForm); 67 public void renderFormatHeaderRowCellOpen(StringBuffer buffer, Map context, ModelForm modelForm, ModelFormField modelFormField); 68 public void renderFormatHeaderRowCellClose(StringBuffer buffer, Map context, ModelForm modelForm, ModelFormField modelFormField); 69 70 public void renderFormatHeaderRowFormCellOpen(StringBuffer buffer, Map context, ModelForm modelForm); 71 public void renderFormatHeaderRowFormCellClose(StringBuffer buffer, Map context, ModelForm modelForm); 72 public void renderFormatHeaderRowFormCellTitleSeparator(StringBuffer buffer, Map context, ModelForm modelForm, ModelFormField modelFormField, boolean isLast); 73 74 public void renderFormatItemRowOpen(StringBuffer buffer, Map context, ModelForm modelForm); 75 public void renderFormatItemRowClose(StringBuffer buffer, Map context, ModelForm modelForm); 76 public void renderFormatItemRowCellOpen(StringBuffer buffer, Map context, ModelForm modelForm, ModelFormField modelFormField); 77 public void renderFormatItemRowCellClose(StringBuffer buffer, Map context, ModelForm modelForm, ModelFormField modelFormField); 78 public void renderFormatItemRowFormCellOpen(StringBuffer buffer, Map context, ModelForm modelForm); 79 public void renderFormatItemRowFormCellClose(StringBuffer buffer, Map context, ModelForm modelForm); 80 81 public void renderFormatSingleWrapperOpen(StringBuffer buffer, Map context, ModelForm modelForm); 82 public void renderFormatSingleWrapperClose(StringBuffer buffer, Map context, ModelForm modelForm); 83 84 public void renderFormatFieldRowOpen(StringBuffer buffer, Map context, ModelForm modelForm); 85 public void renderFormatFieldRowClose(StringBuffer buffer, Map context, ModelForm modelForm); 86 public void renderFormatFieldRowTitleCellOpen(StringBuffer buffer, Map context, ModelFormField modelFormField); 87 public void renderFormatFieldRowTitleCellClose(StringBuffer buffer, Map context, ModelFormField modelFormField); 88 public void renderFormatFieldRowSpacerCell(StringBuffer buffer, Map context, ModelFormField modelFormField); 89 public void renderFormatFieldRowWidgetCellOpen(StringBuffer buffer, Map context, ModelFormField modelFormField, int positions, int positionSpan, Integer nextPositionInRow); 90 public void renderFormatFieldRowWidgetCellClose(StringBuffer buffer, Map context, ModelFormField modelFormField, int positions, int positionSpan, Integer nextPositionInRow); 91 92 public void renderFormatEmptySpace(StringBuffer buffer, Map context, ModelForm modelForm); 93 94 public void renderTextFindField(StringBuffer buffer, Map context, ModelFormField.TextFindField textField); 95 public void renderDateFindField(StringBuffer buffer, Map context, ModelFormField.DateFindField textField); 96 public void renderRangeFindField(StringBuffer buffer, Map context, ModelFormField.RangeFindField textField); 97 public void renderLookupField(StringBuffer buffer, Map context, ModelFormField.LookupField textField); 98 public void renderFileField(StringBuffer buffer, Map context, ModelFormField.FileField textField); 99 public void renderPasswordField(StringBuffer buffer, Map context, ModelFormField.PasswordField textField); 100 public void renderImageField(StringBuffer buffer, Map context, ModelFormField.ImageField textField); 101 public void renderBanner(StringBuffer buffer, Map context, ModelForm.Banner banner); 102 public void renderFieldGroupOpen(StringBuffer buffer, Map context, ModelForm.FieldGroup fieldGroup); 103 public void renderFieldGroupClose(StringBuffer buffer, Map context, ModelForm.FieldGroup fieldGroup); 104 } 105 | Popular Tags |