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

org.gwtopenmaps.openlayers.client.RenderIntent Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
/**
 * @author Rafael Ceravolo - LOGANN Special Solutions
 */
package org.gwtopenmaps.openlayers.client;

/**
 * RenderIntent is used to indicate which of the know render intents is to be
 * used. According to OpenLayers Documentation there are three known render
 * intents: (default, select, temporary), and they are used mainly for chosing
 * which style should be used for rendering features
 */
public enum RenderIntent {

    DEFAULT("default"), SELECT("select"), TEMPORARY("temporary");

    /**
     * The value to attribute to this enum constant. This should be the value
     * that OpenLayers JavaScript uses for defining properties passed as
     * strings.
     * */
    private String value;

    /**
     * Constructor
     * 
     * @param value
     *            The value to attribute to this enum constant. This should be
     *            the value that OpenLayers JavaScript uses for defining
     *            properties passed as strings.
     */
    private RenderIntent(String value) {
	this.value = value;
    }

    /**
     * Gets the value property: The value to attribute to this enum constant.
     * This should be the value that OpenLayers JavaScript uses for defining
     * properties passed as strings.
     * */
    public String getValue() {
	return value;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy