public enum MarkerShapeType extends Enum<MarkerShapeType>
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final MarkerShapeType CIRCLE
public static final MarkerShapeType POLY
public static final MarkerShapeType RECT
public static MarkerShapeType[] values()
for (MarkerShapeType c : MarkerShapeType.values()) System.out.println(c);
public static MarkerShapeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String value()
public static MarkerShapeType fromValue(String type)
type - public String toString()
toString in class Enum<MarkerShapeType>Copyright © 2011-2014 GWT Maps API V3. All Rights Reserved.