com.sksamuel.jqm4gwt.form.JQMSubmit 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;
import com.google.gwt.user.client.ui.SubmitButton;
import com.sksamuel.jqm4gwt.button.JQMButton;
/**
* @author Stephen K Samuel [email protected] 18 May 2011 04:17:45
*
* An implementation of a submit button. Submit buttons are tightly
* integrated with forms and have special semantics when added to a
* {@link JQMForm}
*
*/
public class JQMSubmit extends JQMButton {
/** Nullary constructor. */
public JQMSubmit() {
this(null);
}
/**
* Create a {@link JQMSubmit} with the given label
*/
public JQMSubmit(String text) {
super(new SubmitButton(text));
addStyleName("jqm4gwt-submit");
}
}