|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
com.mapquest.IdentifyCriteria
Finds a list of features which are near a specified location.
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 | |
IdentifyCriteria()
Default constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
Point |
getCenter()
Returns the X and Y coordinates of the point at which the mouse was clicked (as stored in this object). |
int |
getClassId()
Returns the numeric id of this class. |
java.lang.String |
getClassName()
Returns the text name of this class. |
int |
getMaxMatches()
Returns the current value of this object which indicates the maximum number of features to return. |
int |
getRadius()
Returns the current value of this object which indicates the radius within which to search (in pixels). |
int |
hashCode()
Returns a hash code for this IdentifyCriteria. |
void |
init()
Initializes object. |
void |
setCenter(Point pnt)
Sets the point at which the mouse was clicked. |
void |
setMaxMatches(int nMatches)
Sets the data member of this object which indicates the maximum number of features to return. |
void |
setRadius(int nRad)
Sets the search radius (in pixels). |
| 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 IdentifyCriteria()
| Method Detail |
public void init()
init in class MQObjectpublic int getClassId()
getClassId in class MQObjectpublic java.lang.String getClassName()
getClassName in class MQObjectpublic void setCenter(Point pnt)
pnt - The point at which the mouse was clicked (as stored in this object).public void setRadius(int nRad)
nRad - The radius within which to search (in pixels).public void setMaxMatches(int nMatches)
nMatches - The maximum number of features which are to be
returned.public Point getCenter()
public int getRadius()
public int getMaxMatches()
public boolean equals(java.lang.Object otherObject)
equals in class MQObjectotherObject - the object to compare this IdentifyCriteria against.
public int hashCode()
hashCode in class MQObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||