public static enum MapObject.Type extends java.lang.Enum<MapObject.Type>
Enum Constant and Description |
---|
CIRCLE
A
MapCircle . |
CONTAINER
A
MapContainer . |
MARKER
A
MapMarker . |
POLYGON
A
MapPolygon . |
POLYLINE
A
MapPolyline . |
ROUTE
A
MapRoute . |
UNKNOWN
An unknown type of
MapObject . |
Modifier and Type | Method and Description |
---|---|
static MapObject.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MapObject.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapObject.Type UNKNOWN
MapObject
.public static final MapObject.Type MARKER
MapMarker
.public static final MapObject.Type POLYGON
MapPolygon
.public static final MapObject.Type POLYLINE
MapPolyline
.public static final MapObject.Type ROUTE
MapRoute
.public static final MapObject.Type CONTAINER
MapContainer
.public static final MapObject.Type CIRCLE
MapCircle
.public static MapObject.Type[] values()
for (MapObject.Type c : MapObject.Type.values()) System.out.println(c);
public static MapObject.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null