List of usage examples for com.google.gwt.maps.client.overlay Polygon addPolygonRemoveHandler
public void addPolygonRemoveHandler(final PolygonRemoveHandler handler)
From source file:com.claudiushauptmann.gwt.maps.gxt.client.core.PolygonMenuTipController.java
License:Apache License
/** * Creates a PolygonMenuTipController//w w w.j a va 2 s.c o m * * @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); }