|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.controls.ArcReaderSearchDef
ArcReaderSearchDef is used to specify spatial and attribute queries.
| Constructor Summary | |
ArcReaderSearchDef()
Constructs a ArcReaderSearchDef using ArcGIS Engine. |
|
ArcReaderSearchDef(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IARSearchDef |
getAsIARSearchDef()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
static java.lang.String |
getClsid()
|
int |
getSpatialRelationship()
The spatial relationship between the search and target shapes. |
java.lang.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(java.lang.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 |
| Constructor Detail |
public ArcReaderSearchDef()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public ArcReaderSearchDef(java.lang.Object obj)
throws java.io.IOException
obj to ArcReaderSearchDef. ArcReaderSearchDef theArcReaderSearchDef = (ArcReaderSearchDef) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public IARSearchDef getAsIARSearchDef()
public boolean equals(java.lang.Object o)
public int hashCode()
public void setPointShape(double xCoord,
double yCoord,
double bufferDistance)
throws java.io.IOException,
AutomationException
IARSearchDef
setPointShape in interface IARSearchDefxCoord - The xCoord (in)yCoord - The yCoord (in)bufferDistance - The bufferDistance (in, optional, pass 0 if not required)
java.io.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 java.io.IOException,
AutomationException
IARSearchDef
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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setARFeatureShape(IARFeature pARFeature,
double bufferDistance)
throws java.io.IOException,
AutomationException
IARSearchDef
setARFeatureShape in interface IARSearchDefpARFeature - A reference to a com.esri.arcgis.controls.IARFeature (in)bufferDistance - The bufferDistance (in, optional, pass 0 if not required)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setSpatialRelationship(int spatialRel)
throws java.io.IOException,
AutomationException
IARSearchDef
setSpatialRelationship in interface IARSearchDefspatialRel - A com.esri.arcgis.controls.esriARSpatialRelationship constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getSpatialRelationship()
throws java.io.IOException,
AutomationException
IARSearchDef
getSpatialRelationship in interface IARSearchDefAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setWhereClause(java.lang.String sWhereClause)
throws java.io.IOException,
AutomationException
IARSearchDef
setWhereClause in interface IARSearchDefsWhereClause - The sWhereClause (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getWhereClause()
throws java.io.IOException,
AutomationException
IARSearchDef
getWhereClause in interface IARSearchDefAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||