|
|||||||||
| 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.ZoomToRect
Stores data to zoom to a rectangle specified with pixel coordinates.
Point,
ZoomToRectLatLng,
ZoomToRect| 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 | |
ZoomToRect()
Default constructor. |
|
ZoomToRect(ZoomToRect copy)
Copy constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
int |
getClassId()
Returns the numeric id of this class. |
java.lang.String |
getClassName()
Returns the text name of this class. |
void |
getRect(Point UL,
Point LR)
Returns the upper left and lower right corners of this rectangle. |
int |
hashCode()
Returns a hash code for this ZoomToRect. |
void |
init()
Initializes object. |
void |
setRect(Point UpperLeft,
Point LowerRight)
Sets the upper left and lower right corners of the rectangle that is to be zoomed to. |
| 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 ZoomToRect()
public ZoomToRect(ZoomToRect copy)
copy - The ZoomToRect object that is to be copied into this
ZoomToRect object.| Method Detail |
public void init()
init in class MapCommandpublic int getClassId()
getClassId in class MQObjectpublic java.lang.String getClassName()
getClassName in class MQObject
public void setRect(Point UpperLeft,
Point LowerRight)
UpperLeft - The X,Y coordinates of the upper left corner of
this rectangular zoom area.LowerRight - The X,Y coordinates of the lower right corner
of this rectangular zoom area.
public void getRect(Point UL,
Point LR)
UL - The upper left corner of this rectangular zoom area.LR - The lower right corner of this rectangular zoom area.public boolean equals(java.lang.Object otherObject)
equals in class MQObjectotherObject - the object to compare this ZoomToRect against.
public int hashCode()
hashCode in class MQObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||