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

org.gwtopenmaps.openlayers.client.event.ControlEvent 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.control.Control;
import org.gwtopenmaps.openlayers.client.util.JSObject;

/**
 * @author Edwin Commandeur - Atlis EJS
 *
 */
class ControlEvent extends EventObject {

	protected ControlEvent(JSObject eventObject) {
		super(eventObject);
	}

	public Control getSource(){
		JSObject object = getSourceJSObject();
		return (object!=null)?Control.narrowToControl(object):null;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy