com.google.gwt.maps.client.maptypes
Enum MapTypeStyleElementType

java.lang.Object
  extended by java.lang.Enum<MapTypeStyleElementType>
      extended by com.google.gwt.maps.client.maptypes.MapTypeStyleElementType
All Implemented Interfaces:
Serializable, Comparable<MapTypeStyleElementType>

public enum MapTypeStyleElementType
extends Enum<MapTypeStyleElementType>

Each MapTypeStyleElementType distinguishes between the different representations of a feature.

See MapTypeStyleElementType API Doc


Enum Constant Summary
ALL
          Apply the rule to all elements of the specified feature.
GEOMETRY
          Apply the rule to the feature's geometry.
GEOMETRY__FILL
          Apply the rule to the fill of the feature's geometry.
GEOMETRY__STROKE
          Apply the rule to the stroke of the feature's geometry.
LABELS
          Apply the rule to the feature's labels.
LABELS__ICON
          Apply the rule to icons within the feature's labels.
LABELS__TEXT
          Apply the rule to the text in the feature's label.
LABELS__TEXT__FILL
          Apply the rule to the fill of the text in the feature's labels.
LABELS__TEXT__STROKE
          Apply the rule to the stroke of the text in the feature's labels.
 
Method Summary
static MapTypeStyleElementType fromValue(String type)
          convert a String value to enum Type
 String toString()
          return the enum Type as a String
 String value()
          return the enum value as a String
static MapTypeStyleElementType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MapTypeStyleElementType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ALL

public static final MapTypeStyleElementType ALL
Apply the rule to all elements of the specified feature.


GEOMETRY

public static final MapTypeStyleElementType GEOMETRY
Apply the rule to the feature's geometry.


GEOMETRY__FILL

public static final MapTypeStyleElementType GEOMETRY__FILL
Apply the rule to the fill of the feature's geometry.


GEOMETRY__STROKE

public static final MapTypeStyleElementType GEOMETRY__STROKE
Apply the rule to the stroke of the feature's geometry.


LABELS

public static final MapTypeStyleElementType LABELS
Apply the rule to the feature's labels.


LABELS__ICON

public static final MapTypeStyleElementType LABELS__ICON
Apply the rule to icons within the feature's labels.


LABELS__TEXT

public static final MapTypeStyleElementType LABELS__TEXT
Apply the rule to the text in the feature's label.


LABELS__TEXT__FILL

public static final MapTypeStyleElementType LABELS__TEXT__FILL
Apply the rule to the fill of the text in the feature's labels.


LABELS__TEXT__STROKE

public static final MapTypeStyleElementType LABELS__TEXT__STROKE
Apply the rule to the stroke of the text in the feature's labels.

Method Detail

values

public static MapTypeStyleElementType[] 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 (MapTypeStyleElementType c : MapTypeStyleElementType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MapTypeStyleElementType 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

value

public String value()
return the enum value as a String

Returns:
String

fromValue

public static MapTypeStyleElementType fromValue(String type)
convert a String value to enum Type

Parameters:
type -
Returns:
TYPE

toString

public String toString()
return the enum Type as a String

Overrides:
toString in class Enum<MapTypeStyleElementType>


Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.