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

org.gwtopenmaps.openlayers.client.strategy.SaveStrategyImpl Maven / Gradle / Ivy

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

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

public class SaveStrategyImpl {

	public native static boolean activate(JSObject self) /*-{
		return self.activate();
	}-*/;
	
	public native static boolean deactivate(JSObject self) /*-{
		return self.activate();
	}-*/;
	
	public native static void setAuto(JSObject self, boolean enable) /*-{
		self.auto = enable;
	}-*/;
	
	public native static void setAuto(JSObject self, int interval) /*-{
		self.auto = interval;
	}-*/;
	
	public native static void save(JSObject self) /*-{
		self.save();
	}-*/;
	
	public native static void save(JSObject self, JSObject array) /*-{
		self.save(array);		
	}-*/;
	
	public native static JSObject create() /*-{
		return new $wnd.OpenLayers.Strategy.Save();
	}-*/;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy