Example usage for com.google.gwt.event.shared HasHandlers HasHandlers

List of usage examples for com.google.gwt.event.shared HasHandlers HasHandlers

Introduction

In this page you can find the example usage for com.google.gwt.event.shared HasHandlers HasHandlers.

Prototype

HasHandlers

Source Link

Usage

From source file:org.rstudio.core.client.dom.WindowEx.java

License:Open Source License

private static void fireFocusHandlers() {
    NativeEvent nativeEvent = Document.get().createFocusEvent();
    FocusEvent.fireNativeEvent(nativeEvent, new HasHandlers() {
        public void fireEvent(GwtEvent<?> event) {
            handlers_.fireEvent(event);//from  w w  w.j  a v a 2  s  .c  o m
        }
    });
}

From source file:org.rstudio.core.client.dom.WindowEx.java

License:Open Source License

private static void fireBlurHandlers() {
    NativeEvent nativeEvent = Document.get().createBlurEvent();
    BlurEvent.fireNativeEvent(nativeEvent, new HasHandlers() {
        public void fireEvent(GwtEvent<?> event) {
            handlers_.fireEvent(event);//from w  w w .j a v a2 s  . c o m
        }
    });
}