Packagecom.mapquest
Classpublic class RectSearchCriteria
InheritanceRectSearchCriteria Inheritance SearchCriteria Inheritance MQObject

Defines the criteria for a rectangle search. The rectangle to be searched is defined by the upper left and lower right corners of the rectangle.

See also

LatLng


Public Properties
 PropertyDefined by
 InheritedCLASS_NAME : String = "MQObject"
[static]
MQObject
Protected Properties
 PropertyDefined by
 InheritedobjectVersion : Number = 0
Value to represent the version of this object
MQObject
 Inheritedxml : XML = null
MQObject
 Inheritedxpath : String
MQObject
Public Methods
 MethodDefined by
  
RectSearchCriteria(rectLL:RectLL = null)
Constructs a new RectSearchCriteria object.
RectSearchCriteria
  
getClassName():String
Returns the text name of this class.
RectSearchCriteria
  
Gets the latitude/longitude of the lower right corner of this RectSearchCriteria object.
RectSearchCriteria
 Inherited
Gets the data member of this object which indicates the maximum number of matches that are to be returned by the search.
SearchCriteria
  
Returns the version of this class.
RectSearchCriteria
 Inherited
getProperty(path:String):String
Gets values from xml.
MQObject
  
Gets the latitude/longitude of the upper left corner of this RectSearchCriteria object.
RectSearchCriteria
 Inherited
Create a copy of this object.
MQObject
 Inherited
MQObject
 Inherited
MQObject
  
loadXml(xmlPrm:XML):void
Assigns the xml that relates to this object.
RectSearchCriteria
 Inherited
readExternal(input:IDataInput):void
MQObject
  
saveXml():XML
Build xml that represents this object.
RectSearchCriteria
  
setLowerRight(latLng:LatLng):void
Sets the latitude/longitude of the lower right corner of this RectSearchCriteria object.
RectSearchCriteria
 Inherited
setMaxMatches(nMax:int):void
Sets the data member of this object which indicates the maximum number of matches that are to be returned by the search.
SearchCriteria
 Inherited
setProperty(path:String, value:Object):String
Sets values in xml.
MQObject
  
setUpperLeft(latLng:LatLng):void
Sets the latitude/longitude of the upper left corner of this RectSearchCriteria object.
RectSearchCriteria
 Inherited
setXpath(xpath:String):void
Sets the m_xpath object.
MQObject
 Inherited
writeExternal(output:IDataOutput):void
MQObject
Protected Methods
 MethodDefined by
 Inherited
getXML():XML
Returns the m_xmlDoc object.
MQObject
 Inherited
getXpath():String
Returns the xpath string.
MQObject
 Inherited
setXML(xml:XML):void
Sets the m_xmlDoc object.
MQObject
Constructor detail
RectSearchCriteria()constructor
public function RectSearchCriteria(rectLL:RectLL = null)

Constructs a new RectSearchCriteria object.

Parameters
rectLL:RectLL (default = null)
Method detail
getClassName()method
public override function getClassName():String

Returns the text name of this class.

Returns
String — The text name of this class.
getLowerRight()method 
public function getLowerRight():LatLng

Gets the latitude/longitude of the lower right corner of this RectSearchCriteria object.

Returns
LatLng — The m_LowerRight object.
getObjectVersion()method 
public override function getObjectVersion():Number

Returns the version of this class.

Returns
Number — The version of this class.
getUpperLeft()method 
public function getUpperLeft():LatLng

Gets the latitude/longitude of the upper left corner of this RectSearchCriteria object.

Returns
LatLng — The m_UpperLeft object.
loadXml()method 
public override function loadXml(xmlPrm:XML):void

Assigns the xml that relates to this object.

Parameters
xmlPrm:XML — the xml to be assigned.
saveXml()method 
public override function saveXml():XML

Build xml that represents this object.

Returns
XML — The xml.
setLowerRight()method 
public function setLowerRight(latLng:LatLng):void

Sets the latitude/longitude of the lower right corner of this RectSearchCriteria object.

Parameters
latLng:LatLng — latLng the LatLng to set m_LowerRight to.
setUpperLeft()method 
public function setUpperLeft(latLng:LatLng):void

Sets the latitude/longitude of the upper left corner of this RectSearchCriteria object.

Parameters
latLng:LatLng — latLng the LatLng to set m_UpperLeft to.