com.esri.arcgis.controls
Class IARSearchDefProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.controls.IARSearchDefProxy
All Implemented Interfaces:
IARSearchDef, java.io.Externalizable, java.io.Serializable

public class IARSearchDefProxy
extends com.esri.arcgis.interop.Dispatch
implements IARSearchDef, java.io.Serializable

Internal use class Proxy for COM Interface 'IARSearchDef'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\COM\esriPublisherControls.olb'

Description: 'Provides access to members that control attribute and spatial search definitions.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.controls.IARSearchDef
DISPID_1_NAME, DISPID_2_NAME, DISPID_3_NAME, DISPID_4_GET_NAME, DISPID_4_PUT_NAME, DISPID_5_GET_NAME, DISPID_5_PUT_NAME, IID, IID8ea32542_5b8b_4b1a_9fd8_eb88c0bc0d87
 
Constructor Summary
  IARSearchDefProxy()
          For internal use only
  IARSearchDefProxy(java.lang.Object obj)
           
protected IARSearchDefProxy(java.lang.Object obj, java.lang.String iid)
           
  IARSearchDefProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IARSearchDefProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 int getSpatialRelationship()
          The spatial relationship between the search and target shapes.
 java.lang.String getWhereClause()
          A SQL where clause for the search.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 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 com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IARSearchDefProxy

public IARSearchDefProxy(java.lang.String CLSID,
                         java.lang.String host,
                         com.esri.arcgis.interop.AuthInfo authInfo)
                  throws java.net.UnknownHostException,
                         java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IARSearchDefProxy

public IARSearchDefProxy()
For internal use only


IARSearchDefProxy

public IARSearchDefProxy(java.lang.Object obj)
                  throws java.io.IOException
Throws:
java.io.IOException

IARSearchDefProxy

protected IARSearchDefProxy(java.lang.Object obj,
                            java.lang.String iid)
                     throws java.io.IOException
Throws:
java.io.IOException

IARSearchDefProxy

protected IARSearchDefProxy(java.lang.String CLSID,
                            java.lang.String iid,
                            java.lang.String host,
                            com.esri.arcgis.interop.AuthInfo authInfo)
                     throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

setPointShape

public void setPointShape(double xCoord,
                          double yCoord,
                          double bufferDistance)
                   throws java.io.IOException,
                          AutomationException
Set the search shape to a point.

Specified by:
setPointShape in interface IARSearchDef
Parameters:
xCoord - The xCoord (in)
yCoord - The yCoord (in)
bufferDistance - The bufferDistance (in, optional, pass 0 if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEnvelopeShape

public void setEnvelopeShape(double xMin,
                             double yMin,
                             double xMax,
                             double yMax,
                             double bufferDistance)
                      throws java.io.IOException,
                             AutomationException
Set the search shape to an envelope.

Specified by:
setEnvelopeShape in interface IARSearchDef
Parameters:
xMin - 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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setARFeatureShape

public void setARFeatureShape(IARFeature pARFeature,
                              double bufferDistance)
                       throws java.io.IOException,
                              AutomationException
Set the search shape to the shape of a feature.

Specified by:
setARFeatureShape in interface IARSearchDef
Parameters:
pARFeature - A reference to a com.esri.arcgis.controls.IARFeature (in)
bufferDistance - The bufferDistance (in, optional, pass 0 if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialRelationship

public void setSpatialRelationship(int spatialRel)
                            throws java.io.IOException,
                                   AutomationException
The spatial relationship between the search and target shapes.

Specified by:
setSpatialRelationship in interface IARSearchDef
Parameters:
spatialRel - A com.esri.arcgis.controls.esriARSpatialRelationship constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialRelationship

public int getSpatialRelationship()
                           throws java.io.IOException,
                                  AutomationException
The spatial relationship between the search and target shapes.

Specified by:
getSpatialRelationship in interface IARSearchDef
Returns:
A com.esri.arcgis.controls.esriARSpatialRelationship constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWhereClause

public void setWhereClause(java.lang.String sWhereClause)
                    throws java.io.IOException,
                           AutomationException
A SQL where clause for the search.

Specified by:
setWhereClause in interface IARSearchDef
Parameters:
sWhereClause - The sWhereClause (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWhereClause

public java.lang.String getWhereClause()
                                throws java.io.IOException,
                                       AutomationException
A SQL where clause for the search.

Specified by:
getWhereClause in interface IARSearchDef
Returns:
The sWhereClause
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.