org.geomajas.configuration.client.ClientToolbarInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geomajas-api Show documentation
Show all versions of geomajas-api Show documentation
Geomajas server: Main - api
/*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2015 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the GNU Affero
* General Public License. All contributions in this program are covered
* by the Geomajas Contributors License Agreement. For full licensing
* details, see LICENSE.txt in the project root.
*/
package org.geomajas.configuration.client;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.NotNull;
import org.geomajas.annotation.Api;
/**
* Representation of a configured toolbar.
*
* Since version 1.10.0 this configuration object implements the ClientWidgetInfo
interface, so that it can
* be easily retrieved like any other widget configuration object.
*
*
* @author Joachim Van der Auwera
* @since 1.6.0
*/
@Api(allMethods = true)
public class ClientToolbarInfo implements ClientWidgetInfo {
private static final long serialVersionUID = 151L;
@NotNull
private String id;
private List tools = new ArrayList();
/**
* Get the list of tools for this toolbar.
*
* @return list of {@link ClientToolInfo}
*/
public List getTools() {
return tools;
}
/**
* Set the list of tools for this toolbar.
*
* @param tools
* list of tools
*/
public void setTools(List tools) {
this.tools = tools;
}
/**
* Get the toolbar id.
*
* @return toolbar id
*/
public String getId() {
return id;
}
/**
* Set the toolbar id.
*
* @param value
* toolbar id
*/
public void setId(String value) {
this.id = value;
}
}