com.sksamuel.jqm4gwt.form.SubmissionHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jqm4gwt-standalone Show documentation
Show all versions of jqm4gwt-standalone Show documentation
jqm4gwt bundled with all of its dependencies
The newest version!
package com.sksamuel.jqm4gwt.form;
/**
* @author Stephen K Samuel [email protected] 12 Jul 2011 21:54:36
*
* A submission handler is invoked when a form is submitted after
* validation has succeeded.
*
* @param T
* the type of the form that this handler will handle
*
*/
public interface SubmissionHandler {
/**
* This method is invoked when a form has been submitted and validated.
* The parameter of type T will be the source form meaning a single
* {@link SubmissionHandler} can be used for multiple instances of a form
*/
void onSubmit(T form);
}