Add a blur handler Ian http://examples.roughian.com
2009/8/31 monkeyboy <dilbert.elbo...@gmail.com> > > I have a simple text box for which I need to perform some operations > when it looses focus. It is relatively simple using the old > addFocusListener API: > > TextBox txtBox = new TextBox(); > txtBox.addFocusListener(new FocusListener() { > > @Override > public void onFocus(Widget sender) { > // do nothing > } > > @Override > public void onLostFocus(Widget sender) { > // do some stuff > } > }); > But I can't figure out how to do it using the new addFocusHandler API > because there is only the onFocus method to implement. Any help is > appreciated. Thanks in advance. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---