|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.editor.ISnapEnvironmentProxy
public class ISnapEnvironmentProxy
Internal use class Proxy for COM Interface 'ISnapEnvironment'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\COM\esriEditor.olb'
Description: 'Provides access to members that manage the snap agents used by the editor.' 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 =
| 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.editor.ISnapEnvironment |
|---|
IID, IID99305f46_ef10_11d0_aaca_0000f804eb00 |
| Constructor Summary | |
|---|---|
|
ISnapEnvironmentProxy()
For internal use only |
|
ISnapEnvironmentProxy(java.lang.Object obj)
|
protected |
ISnapEnvironmentProxy(java.lang.Object obj,
java.lang.String iid)
|
|
ISnapEnvironmentProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
protected |
ISnapEnvironmentProxy(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)
|
void |
addSnapAgent(ISnapAgent snapAgent)
Adds a new snap agent to the snap environment. |
void |
clearSnapAgents()
Removes all snap agents. |
ISnapAgent |
getSnapAgent(int index)
A snap agent at the given index. |
int |
getSnapAgentCount()
The number of active snap agents. |
double |
getSnapTolerance()
The snap tolerance, measured in pixels or map units. |
int |
getSnapToleranceUnits()
The units used for the snap tolerance. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
|
void |
removeSnapAgent(int index)
Removes the snap agent at the given index. |
void |
setSnapTolerance(double tol)
The snap tolerance, measured in pixels or map units. |
void |
setSnapToleranceUnits(int units)
The units used for the snap tolerance. |
boolean |
snapPoint(IPoint point)
Attempts to snap the point using the current snap 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 |
|---|
public static final java.lang.Class targetClass
public boolean noncastable
| Constructor Detail |
|---|
public ISnapEnvironmentProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
java.net.UnknownHostException
java.io.IOExceptionpublic ISnapEnvironmentProxy()
public ISnapEnvironmentProxy(java.lang.Object obj)
throws java.io.IOException
java.io.IOException
protected ISnapEnvironmentProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
java.io.IOException
protected ISnapEnvironmentProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
addListener in class com.esri.arcgis.interop.Dispatchjava.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
removeListener in class com.esri.arcgis.interop.Dispatchjava.io.IOException
public boolean snapPoint(IPoint point)
throws java.io.IOException,
AutomationException
snapPoint in interface ISnapEnvironmentpoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSnapToleranceUnits()
throws java.io.IOException,
AutomationException
getSnapToleranceUnits in interface ISnapEnvironmentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSnapToleranceUnits(int units)
throws java.io.IOException,
AutomationException
setSnapToleranceUnits in interface ISnapEnvironmentunits - A com.esri.arcgis.editor.esriSnapToleranceUnits constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getSnapTolerance()
throws java.io.IOException,
AutomationException
getSnapTolerance in interface ISnapEnvironmentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSnapTolerance(double tol)
throws java.io.IOException,
AutomationException
setSnapTolerance in interface ISnapEnvironmenttol - The tol (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSnapAgentCount()
throws java.io.IOException,
AutomationException
getSnapAgentCount in interface ISnapEnvironmentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISnapAgent getSnapAgent(int index)
throws java.io.IOException,
AutomationException
getSnapAgent in interface ISnapEnvironmentindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void clearSnapAgents()
throws java.io.IOException,
AutomationException
clearSnapAgents in interface ISnapEnvironmentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeSnapAgent(int index)
throws java.io.IOException,
AutomationException
removeSnapAgent in interface ISnapEnvironmentindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addSnapAgent(ISnapAgent snapAgent)
throws java.io.IOException,
AutomationException
addSnapAgent in interface ISnapEnvironmentsnapAgent - A reference to a com.esri.arcgis.editor.ISnapAgent (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||