Class ResetField


class ResetField extends AbstractButtonField
  • Constructor Details

  • Method Details

    • create

      public JComponent create()
      Specified by:
      create in class FormField
    • includeInSubmission

      public boolean includeInSubmission(JComponent source)
      Description copied from class: FormField
      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.
      Overrides:
      includeInSubmission in class FormField
      Parameters:
      source - The JComponent that caused the submission
      Returns:
      true if it should
    • getFieldValues

      protected String[] getFieldValues()
      Overrides:
      getFieldValues in class InputField