Example usage for com.google.gwt.maps.client.event Event clearListeners

List of usage examples for com.google.gwt.maps.client.event Event clearListeners

Introduction

In this page you can find the example usage for com.google.gwt.maps.client.event Event clearListeners.

Prototype

public static void clearListeners(HasJso instance, String eventName) 

Source Link

Document

Removes all listeners for the given event for the given instance.

Usage

From source file:com.google.mobile.trippy.web.client.widget.InfoWindowView.java

License:Apache License

@Override
public void setClickHandler(EventCallback callback) {
    Event.clearListeners(this, "click");
    Event.addListener(this, "click", callback);
}