code: private void initEventPreviewHandler() {
  
          m_previewHandlerRegistration = Event.addNativePreviewHandler(new NativePreviewHandler() {
  
              public void onPreviewNativeEvent(NativePreviewEvent event) {
  
                  previewNativeEvent(event);
              }
          });
      }
docs: Initializes the event preview handler.<p>