All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gwtopenmaps.openlayers.client.popup.AnchoredBubbleImpl Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
package org.gwtopenmaps.openlayers.client.popup;

import org.gwtopenmaps.openlayers.client.util.JSObject;
import org.gwtopenmaps.openlayers.client.popup.Popup.CloseListener;

/**
 * 
 * @author Erdem Gunay
 * @author Marten Karlberg, Digpro AB
 * 
 */
class AnchoredBubbleImpl {
	
    public static native JSObject create(String id, JSObject lonlat, JSObject size, String html, 
                                         JSObject anchor, boolean closeBox, CloseListener closeBoxCallback) /*-{
	
	function callback(evt) {
	    closeBoxCallback.@org.gwtopenmaps.openlayers.client.popup.Popup.CloseListener::onPopupClose(Lorg/gwtopenmaps/openlayers/client/util/JSObject;)(evt);
	}
	
	return new $wnd.OpenLayers.Popup.AnchoredBubble(id, lonlat, size, html, anchor, closeBox, callback);
    }-*/;
    
    public static native JSObject create(String id, JSObject lonlat, JSObject size, String html, JSObject anchor, boolean closeBox) /*-{
	return new $wnd.OpenLayers.Popup.AnchoredBubble(id, lonlat, size, html, anchor, closeBox);
    }-*/;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy