|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.controls.ArcReaderSearchDef
public class ArcReaderSearchDef
ArcReaderSearchDef is used to specify spatial and attribute queries.
| Constructor Summary | |
|---|---|
ArcReaderSearchDef()
Constructs a ArcReaderSearchDef using ArcGIS Engine. |
|
ArcReaderSearchDef(Object obj)
Construct a ArcReaderSearchDef using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getSpatialRelationship()
The spatial relationship between the search and target shapes. |
String |
getWhereClause()
A SQL where clause for the search. |
int |
hashCode()
the hashcode for this object |
void |
setARFeatureShape(IARFeature pARFeature,
double bufferDistance)
Set the search shape to the shape of a feature. |
void |
setEnvelopeShape(double xMin,
double yMin,
double xMax,
double yMax,
double bufferDistance)
Set the search shape to an envelope. |
void |
setPointShape(double xCoord,
double yCoord,
double bufferDistance)
Set the search shape to a point. |
void |
setSpatialRelationship(int spatialRel)
The spatial relationship between the search and target shapes. |
void |
setWhereClause(String sWhereClause)
A SQL where clause for the search. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public ArcReaderSearchDef()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public ArcReaderSearchDef(Object obj)
throws IOException
obj to ArcReaderSearchDef.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
ArcReaderSearchDef theArcReaderSearchDef = (ArcReaderSearchDef) obj;| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void setPointShape(double xCoord,
double yCoord,
double bufferDistance)
throws IOException,
AutomationException
setPointShape in interface IARSearchDefxCoord - The xCoord (in)yCoord - The yCoord (in)bufferDistance - The bufferDistance (in, optional, pass 0 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEnvelopeShape(double xMin,
double yMin,
double xMax,
double yMax,
double bufferDistance)
throws IOException,
AutomationException
setEnvelopeShape in interface IARSearchDefxMin - The xMin (in)yMin - The yMin (in)xMax - The xMax (in)yMax - The yMax (in)bufferDistance - The bufferDistance (in, optional, pass 0 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setARFeatureShape(IARFeature pARFeature,
double bufferDistance)
throws IOException,
AutomationException
setARFeatureShape in interface IARSearchDefpARFeature - A reference to a com.esri.arcgis.controls.IARFeature (in)bufferDistance - The bufferDistance (in, optional, pass 0 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSpatialRelationship(int spatialRel)
throws IOException,
AutomationException
setSpatialRelationship in interface IARSearchDefspatialRel - A com.esri.arcgis.controls.esriARSpatialRelationship constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSpatialRelationship()
throws IOException,
AutomationException
getSpatialRelationship in interface IARSearchDefIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setWhereClause(String sWhereClause)
throws IOException,
AutomationException
setWhereClause in interface IARSearchDefsWhereClause - The sWhereClause (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getWhereClause()
throws IOException,
AutomationException
getWhereClause in interface IARSearchDefIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||