Example usage for com.google.gwt.maps.client.overlay Polygon addPolygonMouseOutHandler

List of usage examples for com.google.gwt.maps.client.overlay Polygon addPolygonMouseOutHandler

Introduction

In this page you can find the example usage for com.google.gwt.maps.client.overlay Polygon addPolygonMouseOutHandler.

Prototype

public void addPolygonMouseOutHandler(final PolygonMouseOutHandler handler) 

Source Link

Document

This event is fired when the mouse moves out of a polygon.

Usage

From source file:com.claudiushauptmann.gwt.maps.gxt.client.core.PolygonMenuTipController.java

License:Apache License

/**
 * Creates a PolygonMenuTipController/*from  www .  java  2  s .c  om*/
 * 
 * @param mapMenuController
 *            The controller of the map the polygon is attached to.
 * @param polygon
 *            The polygon to be observed.
 */
public PolygonMenuTipController(MapMenuController mapMenuController, Polygon polygon) {
    super(mapMenuController);

    this.polygon = polygon;

    polygonEventHandler = new PolygonEventHandler();
    polygon.addPolygonMouseOverHandler(polygonEventHandler);
    polygon.addPolygonMouseOutHandler(polygonEventHandler);
    polygon.addPolygonRemoveHandler(polygonEventHandler);
}