|
|||||||||
| 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.ZoomTo
Stores data to zoom to specified level and center the map on a given point. Setting the X,Y coordinates to the invalid Point results in a zoom without changing the Center point.
Point| 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 | |
ZoomTo()
Default constructor. |
|
ZoomTo(ZoomTo copy)
Copy constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
Point |
getCenter()
Gets the point that is to be the new of Center of the zoomed area. |
int |
getClassId()
Returns the numeric id of this class. |
java.lang.String |
getClassName()
Returns the text name of this class. |
long |
getZoomLevel()
Get zoom level index from the AutoMapCovswitch object ZoomLevels property. |
int |
hashCode()
Returns a hash code for this ZoomTo. |
void |
init()
Initializes object. |
void |
setCenter(Point c)
Sets the point that is to be the new of Center of the zoomed area. |
void |
setZoomLevel(long lZoomLevel)
Set zoom level index from the AutoMapCovswitch object ZoomLevels property. |
| 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 ZoomTo()
public ZoomTo(ZoomTo copy)
copy - The ZoomTo object that is to be copied into this
ZoomTo object.| Method Detail |
public void init()
init in class MapCommandpublic int getClassId()
getClassId in class MQObjectpublic java.lang.String getClassName()
getClassName in class MQObjectpublic Point getCenter()
public void setCenter(Point c)
c - The point that is to be the new Center of the zoomed area.public long getZoomLevel()
public void setZoomLevel(long lZoomLevel)
lZoomLevel - zoom level index.public boolean equals(java.lang.Object otherObject)
equals in class MQObjectotherObject - the object to compare this ZoomTo against.
public int hashCode()
hashCode in class MQObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||