com.sksamuel.jqm4gwt.form.elements.JQMNumber 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.elements;
/**
* @author Stephen K Samuel [email protected] 18 May 2011 04:17:45
*
* An implementation of the HTML5 number input type. On systems that do
* not support this, it will be degraded into a standard text element.
*
* On most mobile devices this input will result in the soft keyboard
* showing the number pad.
*
* http://jquerymobile.com/demos/1.0b1/#/demos/1.0b1/docs/forms/forms-text.html
*
*/
public class JQMNumber extends JQMText {
public JQMNumber() {
this(null);
}
public JQMNumber(String text) {
super(text);
setType("number");
}
}