com.esri.arcgis.editor
Class ISnapAgentProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.editor.ISnapAgentProxy
All Implemented Interfaces:
ISnapAgent, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IFeatureSnapAgentProxy

Deprecated. Internal use only. Proxy for COM Interface 'ISnapAgent'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\COM\esriEditor.olb'

Description: 'Provides access to members that snap point locations using a tolerance.' 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 =

public class ISnapAgentProxy
extends com.esri.arcgis.interop.Dispatch
implements ISnapAgent, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
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.editor.ISnapAgent
IID, IID2866e6b3_c00b_11d0_802b_0000f8037368
 
Constructor Summary
  ISnapAgentProxy()
          Deprecated. For internal use only
  ISnapAgentProxy(java.lang.Object obj)
          Deprecated.  
protected ISnapAgentProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  ISnapAgentProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected ISnapAgentProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 java.lang.String getName()
          Deprecated. The name of the snap agent shown in the UI.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 boolean snap(IGeometry geom, IPoint point, double tolerance)
          Deprecated. Called by the editor to perform the actual snapping logic.
 
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
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

ISnapAgentProxy

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

ISnapAgentProxy

public ISnapAgentProxy()
Deprecated. 
For internal use only


ISnapAgentProxy

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

ISnapAgentProxy

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

ISnapAgentProxy

protected ISnapAgentProxy(java.lang.String CLSID,
                          java.lang.String iid,
                          java.lang.String host,
                          com.esri.arcgis.interop.AuthInfo authInfo)
                   throws java.io.IOException
Deprecated. 
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
Deprecated. 
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
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
The name of the snap agent shown in the UI.

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

snap

public boolean snap(IGeometry geom,
                    IPoint point,
                    double tolerance)
             throws java.io.IOException,
                    AutomationException
Deprecated. 
Called by the editor to perform the actual snapping logic.

Specified by:
snap in interface ISnapAgent
Parameters:
geom - A reference to a com.esri.arcgis.geometry.IGeometry (in)
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
tolerance - The tolerance (in)
Returns:
The snapped
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.