code: public void addUIEventHandler(JavascriptObject obj, UIEventType type, UIEventHandler h) {
          String key = registerEventHandler(h);
          String mcall = "google.maps.event.addListener(" + obj.getVariableName() + ", '" + type.name() + "', "
                  + "function(event) {document.jsHandlers.handleUIEvent('" + key + "', event);});";//.latLng
          //System.out.println("addUIEventHandler mcall: " + mcall);
          runtime.execute(mcall);
      }
docs: Adds a handler for a mouse type event on the map.
  
  @param obj The object that the event should be registered on.
  @param type Type of the event to register against.
  @param h Handler that will be called when the event occurs.