Class FormField

java.lang.Object
org.xhtmlrenderer.simple.extend.form.FormField
Direct Known Subclasses:
InputField

public abstract class FormField extends Object
  • Constructor Details

  • Method Details

    • getComponent

      public JComponent getComponent()
    • getParentForm

      public XhtmlForm getParentForm()
    • reset

      public void reset()
    • create

      public abstract JComponent create()
    • includeInSubmission

      public boolean includeInSubmission(JComponent source)
      Returns true if the value of the current FormField should be sent along with the current submission. This is used so that only the value of the submit button that is used to trigger the form's submission is sent.
      Parameters:
      source - The JComponent that caused the submission
      Returns:
      true if it should
    • getFormDataStrings

      public String[] getFormDataStrings()