List of usage examples for com.google.gwt.maps.client.overlay Polygon addPolygonMouseOverHandler
public void addPolygonMouseOverHandler(final PolygonMouseOverHandler handler)
From source file:com.claudiushauptmann.gwt.maps.gxt.client.core.PolygonMenuTipController.java
License:Apache License
/** * Creates a PolygonMenuTipController/* www. j a v a 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); }