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

org.geomajas.configuration.client.ClientToolbarInfo Maven / Gradle / Ivy

There is a newer version: 1.18.5
Show newest version
/*
 * 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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy