|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
com.mapquest.MapCommand
com.mapquest.CenterLatLng
Stores data to center the maps on a given point specified with a latitude/longitude point.
LatLng| 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 | |
CenterLatLng()
Default constructor. |
|
CenterLatLng(CenterLatLng copy)
Copy constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
LatLng |
getCenterLL()
Returns the latitude/longitude values of this Center. |
int |
getClassId()
Returns the numeric id of this class. |
java.lang.String |
getClassName()
Returns the text name of this class. |
int |
hashCode()
Returns a hash code for this CenterLatLng. |
void |
init()
Initializes object. |
void |
setCenter(LatLng ll)
Sets the latitude/longitude of the Center. |
| 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 CenterLatLng()
public CenterLatLng(CenterLatLng copy)
copy - The latitude/longitude point that this CenterLatLng
is to be set to.| Method Detail |
public void init()
init in class MapCommandpublic int getClassId()
getClassId in class MQObjectpublic java.lang.String getClassName()
getClassName in class MQObjectpublic void setCenter(LatLng ll)
ll - The latitude/longitude values that this Center is to be
set to.public LatLng getCenterLL()
public boolean equals(java.lang.Object otherObject)
equals in class MQObjectotherObject - the object to compare this CenterLatLng against.
public int hashCode()
hashCode in class MQObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||