Like KeyboardFocusManager.getCurrentKeyboardFocusManager().getPermanentFocusOwner() in AWT
+1
A:
I think what you're looking for is the HasFocusHandler interface. You can add FocusHandlers to any widget that implements this interface. Then, whenever the focus changes on that particular widget, you'll get a FocusEvent.
Arthur Kalmenson
2010-06-11 18:35:44
Then we should be able to listen to adding new Widgets. Any new widget can be focusable. But we don't have something like java.awt.event.ContainerListener.In GWT exists com.google.gwt.user.client.ui.InsertPanel interface but implementations don't have for example Add/RemoveWidgetHandler
Dasha
2010-06-16 15:33:37
I need to get the Focus Owner without information about created widgets
Dasha
2010-06-16 15:40:55