On 6 nov, 10:27, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote:
> public static KeyboardListenerAdapter OnlyDigitListener = new
> KeyboardListenerAdapter() {
> public void onKeyPress(final Widget sender, final char keyCode, final
> int modifiers) {
> switch(keyCode){
> case KEY_LEFT:
> case KEY_DOWN:
> case KEY_RIGHT:
> case KEY_UP:
> case KEY_BACKSPACE:
> case KEY_DELETE:
> return;
FWIW, we're also allowing KEY_HOME, KEY_END, KEY_TAB and KEY_ENTER in
our own code.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---