com.esri.arcgis.carto
Class IGraphicSnapEnvironment2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.IGraphicSnapEnvironment2Proxy
All Implemented Interfaces:
IGraphicSnapEnvironment2, java.io.Externalizable, java.io.Serializable

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

Description: 'Provides access to members that control the Collection of snap agents used for 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 IGraphicSnapEnvironment2Proxy
extends com.esri.arcgis.interop.Dispatch
implements IGraphicSnapEnvironment2, 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.IGraphicSnapEnvironment2
IID, IID51ae6186_47a9_489a_a91d_a0e6caf320f1
 
Constructor Summary
  IGraphicSnapEnvironment2Proxy()
          Deprecated. For internal use only
  IGraphicSnapEnvironment2Proxy(java.lang.Object obj)
          Deprecated.  
protected IGraphicSnapEnvironment2Proxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IGraphicSnapEnvironment2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IGraphicSnapEnvironment2Proxy(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.  
 void addSnapAgent(IGraphicSnap snapAgent)
          Deprecated. Add a new snap agent to the environment.
 void clearSnapAgents()
          Deprecated. Remove all snap agents.
 void deleteSnapAgent(IGraphicSnap snapAgent)
          Deprecated. Remove specified snap agent from the environment.
 IGraphicSnap getSnapAgent(int index)
          Deprecated. The snap agent at the specified index.
 int getSnapAgentCount()
          Deprecated. The number of snap agents.
 IArray getSnapAgentOrder()
          Deprecated. An array of IDs indicating how agents should be ordered.
 double getSnapTolerance()
          Deprecated. The snap tolerance in page units.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void setSnapAgentOrder(IArray guids)
          Deprecated. An array of IDs indicating how agents should be ordered.
 void setSnapTolerance(double tol)
          Deprecated. The snap tolerance in page units.
 void snapShape(IGeometry shape)
          Deprecated. Snap the shape using the agents in the environment.
 void snapShapeEx(IElement pElement, IGeometry shape)
          Deprecated. Snap the shape using the agents in the environment.
 
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

IGraphicSnapEnvironment2Proxy

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

IGraphicSnapEnvironment2Proxy

public IGraphicSnapEnvironment2Proxy()
Deprecated. 
For internal use only


IGraphicSnapEnvironment2Proxy

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

IGraphicSnapEnvironment2Proxy

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

IGraphicSnapEnvironment2Proxy

protected IGraphicSnapEnvironment2Proxy(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

snapShape

public void snapShape(IGeometry shape)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Snap the shape using the agents in the environment.

Specified by:
snapShape in interface IGraphicSnapEnvironment2
Parameters:
shape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSnapTolerance

public double getSnapTolerance()
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
The snap tolerance in page units.

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

setSnapTolerance

public void setSnapTolerance(double tol)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
The snap tolerance in page units.

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

setSnapAgentOrder

public void setSnapAgentOrder(IArray guids)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
An array of IDs indicating how agents should be ordered.

Specified by:
setSnapAgentOrder in interface IGraphicSnapEnvironment2
Parameters:
guids - A reference to a com.esri.arcgis.system.IArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSnapAgentOrder

public IArray getSnapAgentOrder()
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
An array of IDs indicating how agents should be ordered.

Specified by:
getSnapAgentOrder in interface IGraphicSnapEnvironment2
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSnapAgentCount

public int getSnapAgentCount()
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
The number of snap agents.

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

getSnapAgent

public IGraphicSnap getSnapAgent(int index)
                          throws java.io.IOException,
                                 AutomationException
Deprecated. 
The snap agent at the specified index. The index argument is zero based.

Specified by:
getSnapAgent in interface IGraphicSnapEnvironment2
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.carto.IGraphicSnap
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearSnapAgents

public void clearSnapAgents()
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Remove all snap agents.

Specified by:
clearSnapAgents in interface IGraphicSnapEnvironment2
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addSnapAgent

public void addSnapAgent(IGraphicSnap snapAgent)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Add a new snap agent to the environment.

Specified by:
addSnapAgent in interface IGraphicSnapEnvironment2
Parameters:
snapAgent - A reference to a com.esri.arcgis.carto.IGraphicSnap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteSnapAgent

public void deleteSnapAgent(IGraphicSnap snapAgent)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Remove specified snap agent from the environment.

Specified by:
deleteSnapAgent in interface IGraphicSnapEnvironment2
Parameters:
snapAgent - A reference to a com.esri.arcgis.carto.IGraphicSnap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

snapShapeEx

public void snapShapeEx(IElement pElement,
                        IGeometry shape)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Snap the shape using the agents in the environment.

Specified by:
snapShapeEx in interface IGraphicSnapEnvironment2
Parameters:
pElement - A reference to a com.esri.arcgis.carto.IElement (in)
shape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.