Class MQZoomToRect
Object
|
+--MQObject
|
+--MQMapCommand
|
+--MQZoomToRect
- class
MQZoomToRect
- extends MQMapCommand
Stores data to zoom to a rectangle specified with pixel
coordinates.
See:
Defined in mqobjects.js
|
Constructor Summary |
MQZoomToRect
()
Constructs a new MQZoomToRect object.
|
|
Method Summary |
String
|
getClassName()
Returns the text name of this class.
|
int
|
getObjectVersion()
Returns the version of this class.
|
void
|
getRect(<MQPoint> ulpt, <MQPoint> lrpt)
Returns the upper left and lower right corners of this rectangle.
|
void
|
loadXml(<String> strXml)
Assigns the xml that relates to this object.
|
String
|
saveXml()
Build an xml string that represents this object.
|
void
|
setRect(<MQPoint> ulpt, <MQPoint> lrpt)
Sets the upper left and lower right corners of the rectangle that
is to be zoomed to.
|
m_LowerRight
<private> MQPoint m_LowerRight
Value to represent lower right of the map
m_UpperLeft
<private> MQPoint m_UpperLeft
Value to represent upper left of the map
MQZoomToRect
MQZoomToRect()
Constructs a new MQZoomToRect object.
getClassName
String getClassName()
Returns the text name of this class.
Returns:
The text name of this class.
getObjectVersion
int getObjectVersion()
Returns the version of this class.
Returns:
The version of this class.
getRect
void getRect(<MQPoint> ulpt, <MQPoint> lrpt)
Returns the upper left and lower right corners of this rectangle.
Parameters:
ulpt - The upper left corner of this rectangular zoom area.
lrpt - The lower right corner of this rectangular zoom area.
loadXml
void loadXml(<String> strXml)
Assigns the xml that relates to this object.
Parameters:
strXml - the xml to be assigned.
saveXml
String saveXml()
Build an xml string that represents this object.
setRect
void setRect(<MQPoint> ulpt, <MQPoint> lrpt)
Sets the upper left and lower right corners of the rectangle that
is to be zoomed to.
Parameters:
ulpt - The X,Y coordinates of the upper left corner of this rectangular zoom area.
lrpt - The X,Y coordinates of the lower right corner of this rectangular zoom area.
Documentation generated by
JSDoc on Tue Oct 16 08:04:12 2007