/*
 * This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
 *
 * Copyright 2008-2011 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.io.Serializable;

/**
 * Enumeration class for the available options to limit (e.g. the mapview's) bounds when applying 
 * 		the maxBounds limitation. 
 *
 * @author An Buyle
 * 
 * @since 1.10.0
 */
public enum BoundsLimitOption implements Serializable {

	/**
	 *  View center must be within maxBounds.
	 */
	CENTER_WITHIN_MAX_BOUNDS,
	/** 
	 * The whole map view must lay completely within the maximum allowed bounds (maxBounds). 
	 */
	COMPLETELY_WITHIN_MAX_BOUNDS;

	private static final long serialVersionUID = 1100L;

}

/*
 * This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
 *
 * Copyright 2008-2011 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.io.Serializable;
import org.geomajas.annotation.Api;

/**
 * Enumeration class for the available options to limit (e.g. the mapview's) bounds when applying 
 * 		the maxBounds limitation. 
 *
 * @author An Buyle
 * 
 * @since 1.10.0
 */
@Api
public enum BoundsLimitOption implements Serializable {

	/**
	 *  View center must be within maxBounds.
	 */
	CENTER_WITHIN_MAX_BOUNDS,
	/** 
	 * The whole map view must lay completely within the maximum allowed bounds (maxBounds). 
	 */
	COMPLETELY_WITHIN_MAX_BOUNDS;

	private static final long serialVersionUID = 1100L;

}

Fix missing @api (see comment of Joachim Van der Auwera on GBE-247)