/*
* 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.gwt.client.widget.attribute;
import com.smartgwt.client.widgets.form.fields.FormItem;
import org.geomajas.annotation.Api;
/**
* Definition of a factory capable of creating a certain kind of
* {@link com.smartgwt.client.widgets.form.fields.FormItem}. These factories are stored within
* {@link AttributeFormFieldRegistry} this registry and used for building
* {@link org.geomajas.gwt.client.widget.attribute.DefaultFeatureForm}s.
*
* @author Pieter De Graef
* @since 1.10.0
*/
@Api(allMethods = true)
public interface FormItemFactory {
/**
* Create the form item.
*
* @return form item
*/
FormItem create();
}