org.gwtopenmaps.openlayers.client
Enum RenderIntent
java.lang.Object
java.lang.Enum<RenderIntent>
org.gwtopenmaps.openlayers.client.RenderIntent
- All Implemented Interfaces:
- Serializable, Comparable<RenderIntent>
public enum RenderIntent
- extends Enum<RenderIntent>
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
Method Summary |
String |
getValue()
Gets the value property: The value to attribute to this enum constant. |
static RenderIntent |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RenderIntent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
DEFAULT
public static final RenderIntent DEFAULT
SELECT
public static final RenderIntent SELECT
TEMPORARY
public static final RenderIntent TEMPORARY
values
public static RenderIntent[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (RenderIntent c : RenderIntent.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RenderIntent valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getValue
public String getValue()
- 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.
Copyright © 2011 sourceforge. All Rights Reserved.