There is a handy IntegerBox (as well as DoubleBox and LongBox) that you can 
use instead of a simple TextBox. It parses and accepts only integer values 
inside a TextBox.
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/ui/IntegerBox.html

In general if you want something different you can extend a ValueBox giving 
a right parser and renderer.
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/ui/ValueBox.html

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to