All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sksamuel.jqm4gwt.form.SubmissionHandler Maven / Gradle / Ivy

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy