|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
com.mapquest.Primitive
com.mapquest.SymbolPrimitive
Describes a SymbolPrimitive to be placed on a map. The SymbolPrimitive is initially located by an X/Y coordinate. The coordinate is converted into a latitude/longitude point so the SymbolPrimitive can be placed in the same geographical location after the map is manipulated.
Point,
LatLng,
SymbolType| Field Summary | |
static int |
CLASS_ID
|
static java.lang.String |
CLASS_NAME
|
| Fields inherited from class com.mapquest.MQObject |
DEFAULT_ID, DEFAULT_NAME, DEFAULT_VERSION, FORMAT_NUMERIC_ID, FORMAT_TEXT_NAME, INVALID_ID, INVALID_NAME, INVALID_VERSION |
| Constructor Summary | |
SymbolPrimitive()
Default constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
LatLng |
getCenterLatLng()
Retrieves the latitude of the Center of this SymbolPrimitive. |
Point |
getCenterPoint()
Retrieves the Center point of this SymbolPrimitive. |
int |
getClassId()
Returns the numeric id of this class. |
java.lang.String |
getClassName()
Returns the text name of this class. |
java.lang.String |
getSymbolName()
Returns the SymbolPrimitive name. |
SymbolType |
getSymbolType()
Returns the Symbol type. |
int |
hashCode()
Returns a hash code for this SymbolPrimitive. |
void |
init()
Initializes object. |
void |
setCenterLatLng(LatLng ll)
Sets the lat/long of the Center of this SymbolPrimitive. |
void |
setCenterPoint(Point pnt)
Sets the coordinates of the Center point of this SymbolPrimitive. |
void |
setSymbolName(java.lang.String symbolName)
Sets the SymbolPrimitive name. |
void |
setSymbolType(SymbolType symbolType)
Sets the Symbol type. |
| Methods inherited from class com.mapquest.Primitive |
getCoordinateType, getDrawTrigger, getKey, getOpacity, getTriggerDT, setCoordinateType, setDrawTrigger, setKey, setOpacity, setTriggerDT |
| Methods inherited from class com.mapquest.MQObject |
clone, getFormat, getIdWithVersion, getNameWithVersion, getObjectVersion, getTypeId, getTypeName, getVerboseConsoleOutput, setFormat, setObjectVersion, setVerboseConsoleOutput, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int CLASS_ID
public static final java.lang.String CLASS_NAME
| Constructor Detail |
public SymbolPrimitive()
| Method Detail |
public void init()
init in class Primitivepublic int getClassId()
getClassId in class MQObjectpublic java.lang.String getClassName()
getClassName in class MQObjectpublic Point getCenterPoint()
public void setCenterPoint(Point pnt)
pnt - The point coordinate.public LatLng getCenterLatLng()
public void setCenterLatLng(LatLng ll)
ll - The LatLng of this SymbolPrimitive Center.public void setSymbolName(java.lang.String symbolName)
symbolName - The name of this SymbolPrimitive.public java.lang.String getSymbolName()
public void setSymbolType(SymbolType symbolType)
symbolType - The type of this SymbolPrimitive.public SymbolType getSymbolType()
public boolean equals(java.lang.Object otherObject)
equals in class PrimitiveotherObject - the object to compare this SymbolPrimitive against.
public int hashCode()
hashCode in class Primitive
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||