|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<RoverShapeType>
com.partnersoft.maps.rover.RoverShapeType
public enum RoverShapeType
The different types of supported shape geometries in Rover. This enumeration allows you to consider them independently of the RoverShape class structure, and includes specific numeric codes to use in binary storage.
Copyright 2008 Partner Software, Inc.
| Enum Constant Summary | |
|---|---|
AREA
A polygonal vector area. |
|
IMAGE
A scaled raster image. |
|
LINE
A vector polyline. |
|
POINT
A vector point. |
|
TEXT
A text label. |
|
| Method Summary | |
|---|---|
static RoverShapeType |
forCode(int code)
|
static RoverShapeType |
forMapDataGraphic(MapDataGraphic graphic)
|
static RoverShapeType |
forName(java.lang.String name)
|
static RoverShapeType |
forShape(RoverShape shape)
|
int |
getCode()
|
java.lang.String |
getName()
|
static RoverShapeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RoverShapeType[] |
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, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RoverShapeType IMAGE
public static final RoverShapeType AREA
public static final RoverShapeType LINE
public static final RoverShapeType POINT
public static final RoverShapeType TEXT
| Method Detail |
|---|
public static RoverShapeType[] values()
for (RoverShapeType c : RoverShapeType.values()) System.out.println(c);
public static RoverShapeType 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 name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public int getCode()
public static RoverShapeType forName(java.lang.String name)
public static RoverShapeType forCode(int code)
public static RoverShapeType forShape(RoverShape shape)
public static RoverShapeType forMapDataGraphic(MapDataGraphic graphic)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||