Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to group gwt composite widgets change events as one change event

Tags:

gwt

If i have a GWT composite widget with three text boxes like for SSN, and i need to fire change event only when focus is lost from the widget as a whole, not from individual text boxes how to go about doing that?

like image 693
retrobrain Avatar asked Nov 15 '22 15:11

retrobrain


1 Answers

If you want just the event when your whole widget loses focus (not the text boxes), then make the top level of your widget be a FocusPanel, and expose the events that it gives you.

like image 110
rustyshelf Avatar answered Dec 06 '22 05:12

rustyshelf