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

org.gwtopenmaps.openlayers.client.control.Panel Maven / Gradle / Ivy

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

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

/**
 *
 * @author Curtis Jensen
 *
 */
public class Panel extends Control {

	protected Panel(JSObject element) {
		super(element);
	}

	public Panel(PanelOptions options) {
		this(PanelImpl.create(options.getJSObject()));
	}

	public void addControls(Control[] controls) {
		JObjectArray controlArray = new JObjectArray(controls);
		PanelImpl.addControls(this.getJSObject(), controlArray.getJSObject());
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy