com.google.gwt.maps.client.overlays
Enum MarkerShapeType

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

public enum MarkerShapeType
extends Enum<MarkerShapeType>


Enum Constant Summary
CIRCLE
           
POLY
           
RECT
           
 
Method Summary
static MarkerShapeType 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 MarkerShapeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MarkerShapeType[] 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

CIRCLE

public static final MarkerShapeType CIRCLE

POLY

public static final MarkerShapeType POLY

RECT

public static final MarkerShapeType RECT
Method Detail

values

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

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

valueOf

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


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