public class RoverDrawable extends java.lang.Object implements Immutable
The Rover format, and RoverShape, does not specify how the shapes will be rendered. This is left to the MapLegend and MapStyle framework. However, we have to distinguish shapes that will receive the same styles in a legend, and we do this by declaring them to have the same drawable.
Drawables have a name, for human use, and are assigned numeric IDs when stored in the rover format. These are called drawName and drawID since that sounds better than drawableName and drawableId.
They don't have any other state; they act simply as identifiers.
Copyright 2009 Partner Software, Inc.
| Constructor and Description |
|---|
RoverDrawable(RoverShapeType shapeType,
java.lang.String name,
int id) |
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
java.lang.String |
getName() |
RoverShapeType |
getShapeType() |
public RoverDrawable(RoverShapeType shapeType, java.lang.String name, int id)
public RoverShapeType getShapeType()
public java.lang.String getName()
public int getId()