com.esri.arcgis.carto
Class IGraphicSnapProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.IGraphicSnapProxy
All Implemented Interfaces:
IGraphicSnap, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IPageLayoutSnapProxy

Deprecated. Internal use only. Proxy for COM Interface 'IGraphicSnap'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control snapping graphics.' 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 IGraphicSnapProxy
extends com.esri.arcgis.interop.Dispatch
implements IGraphicSnap, 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.carto.IGraphicSnap
IID, IID56fd87f5_ddce_11d1_8778_0000f8751720
 
Constructor Summary
  IGraphicSnapProxy()
          Deprecated. For internal use only
  IGraphicSnapProxy(java.lang.Object obj)
          Deprecated.  
protected IGraphicSnapProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IGraphicSnapProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IGraphicSnapProxy(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.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 boolean snapX(IGeometry shape, double tolerance)
          Deprecated. Indicates if the point is snapped in the horizontal direction.
 boolean snapY(IGeometry shape, double tolerance)
          Deprecated. Indicates if the point is snapped in the vertical direction.
 
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

IGraphicSnapProxy

public IGraphicSnapProxy(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

IGraphicSnapProxy

public IGraphicSnapProxy()
Deprecated. 
For internal use only


IGraphicSnapProxy

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

IGraphicSnapProxy

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

IGraphicSnapProxy

protected IGraphicSnapProxy(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.

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

snapX

public boolean snapX(IGeometry shape,
                     double tolerance)
              throws java.io.IOException,
                     AutomationException
Deprecated. 
Indicates if the point is snapped in the horizontal direction.

Specified by:
snapX in interface IGraphicSnap
Parameters:
shape - A reference to a com.esri.arcgis.geometry.IGeometry (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.

snapY

public boolean snapY(IGeometry shape,
                     double tolerance)
              throws java.io.IOException,
                     AutomationException
Deprecated. 
Indicates if the point is snapped in the vertical direction.

Specified by:
snapY in interface IGraphicSnap
Parameters:
shape - A reference to a com.esri.arcgis.geometry.IGeometry (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.