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

org.gwtopenmaps.openlayers.client.event.EventsImpl Maven / Gradle / Ivy

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

import org.gwtopenmaps.openlayers.client.util.JSObject;

/**
 *
 * @author Erdem Gunay
 * @author Wayne Fang - Refractions Research
 * @author Edwin Commandeur - Atlis EJS
 *
 *
 */
class EventsImpl {

	public native static JSObject register(JSObject self, String type, JSObject obj, JSObject handler) /*-{
		self.register(type, obj, handler);
	}-*/;
	public native static JSObject on(JSObject self,JSObject object ) /*-{
	    self.on(object);
    }-*/;
	public native static void unregister(JSObject self, String type, JSObject obj, JSObject handler)/*-{
	   self.unregister(type, obj, handler);
	}-*/;

	public native static JSObject getMousePosition(JSObject self, JSObject evt)/*-{
		return self.getMousePosition(evt);
	}-*/;
	
	public native static JSObject stop(JSObject evt, boolean allowDefault)/*-{
		$wnd.OpenLayers.Event.stop(evt, allowDefault);
	}-*/;
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy