377378379380381382383384385386
maybeInitMarkerMouseDownHandlers(); markerMouseDownHandlers.addHandler(handler, new VoidCallback() { @Override public void callback() { MarkerMouseDownEvent e = new MarkerMouseDownEvent(Marker.this); handler.onMouseDown(e); } }); }
361362363364365366367368369370
public void onMouseDown(MarkerMouseDownEvent event) { assertEquals(event.getSender(), marker); finishTest(); } }); MarkerMouseDownEvent e = new MarkerMouseDownEvent(marker); marker.trigger(e); } }, false); }