tags:

views:

130

answers:

1

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
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
I need to get the Focus Owner without information about created widgets
Dasha