Just in case you ever wanted to have a handler for the <iframe>'s
onload event:


import com.google.gwt.event.dom.client.HasLoadHandlers;
import com.google.gwt.event.dom.client.LoadEvent;
import com.google.gwt.event.dom.client.LoadHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.ui.NamedFrame;

public class MyNamedFrame extends NamedFrame implements
HasLoadHandlers {

        public MyNamedFrame(String name) {
                super(name);
        }

        @Override
        public HandlerRegistration addLoadHandler(LoadHandler handler) {
                return addDomHandler(handler, LoadEvent.getType());
        }
}

-- 
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-tool...@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.

Reply via email to