|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<OverlayType>
com.google.gwt.maps.client.drawinglib.OverlayType
public enum OverlayType
The types of overlay that may be created by the DrawingManager.
See OverlayType API
Doc
| Enum Constant Summary | |
|---|---|
CIRCLE
Specifies that the DrawingManager creates circles, and that the overlay given in the overlaycomplete event is a circle. |
|
MARKER
Specifies that the DrawingManager creates markers, and that the overlay given in the overlaycomplete event is a marker. |
|
POLYGON
Specifies that the DrawingManager creates polygons, and that the overlay given in the overlaycomplete event is a polygon. |
|
POLYLINE
Specifies that the DrawingManager creates polylines, and that the overlay given in the overlaycomplete event is a polyline. |
|
RECTANGLE
Specifies that the DrawingManager creates rectangles, and that the overlay given in the overlaycomplete event is a rectangle. |
|
| Method Summary | |
|---|---|
static OverlayType |
fromValue(String type)
|
String |
toString()
|
String |
value()
|
static OverlayType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OverlayType[] |
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 |
|---|
public static final OverlayType CIRCLE
public static final OverlayType MARKER
public static final OverlayType POLYGON
public static final OverlayType POLYLINE
public static final OverlayType RECTANGLE
| Method Detail |
|---|
public static OverlayType[] values()
for (OverlayType c : OverlayType.values()) System.out.println(c);
public static OverlayType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String value()
public static OverlayType fromValue(String type)
public String toString()
toString in class Enum<OverlayType>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||