public enum RoverShapeType extends java.lang.Enum<RoverShapeType>
Copyright 2008 Partner Software, Inc.
| Enum Constant and Description |
|---|
AREA
A polygonal vector area.
|
IMAGE
A scaled raster image.
|
LINE
A vector polyline.
|
POINT
A vector point.
|
TEXT
A text label.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
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 namejava.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)