com.esri.arcgis.controls
Class SnappingFeedback

java.lang.Object
  extended by com.esri.arcgis.controls.SnappingFeedback
All Implemented Interfaces:
ISnappingFeedback, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class SnappingFeedback
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISnappingFeedback

COM Class 'SnappingFeedback'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriControls.olb'

Description 'Provdes the snapping feedback to the display.' 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
 
Fields inherited from interface com.esri.arcgis.controls.ISnappingFeedback
IID, IIDc8ba49d2_95e5_49c6_b6c2_1d4d0859ab6b, xxDummy
 
Constructor Summary
SnappingFeedback()
          Constructs a SnappingFeedback using ArcGIS Engine.
SnappingFeedback(java.lang.Object obj)
          Construct a SnappingFeedback using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void initialize(java.lang.Object hook, ISnappingEnvironment snapEnv, boolean autoErase)
          Initialize with the current snapping environment.
 void refresh(int hdc)
          Refresh the last update.
 void release()
          Release a SnappingFeedback.
 void unInitialize()
          Disconnecting from the View.
 void update(ISnappingResult snappingResult, int hdc)
          Sets the current mouse location and snap result.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnappingFeedback

public SnappingFeedback()
                 throws java.io.IOException,
                        java.net.UnknownHostException
Constructs a SnappingFeedback using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

SnappingFeedback

public SnappingFeedback(java.lang.Object obj)
                 throws java.io.IOException
Construct a SnappingFeedback using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SnappingFeedback.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems SnappingFeedback theSnappingFeedback = (SnappingFeedback) obj;
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a SnappingFeedback.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

initialize

public void initialize(java.lang.Object hook,
                       ISnappingEnvironment snapEnv,
                       boolean autoErase)
                throws java.io.IOException,
                       AutomationException
Initialize with the current snapping environment.

Specified by:
initialize in interface ISnappingFeedback
Parameters:
hook - A reference to another Automation Object (IDispatch) (in)
snapEnv - A reference to a com.esri.arcgis.controls.ISnappingEnvironment (in)
autoErase - The autoErase (in, optional, pass true if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unInitialize

public void unInitialize()
                  throws java.io.IOException,
                         AutomationException
Disconnecting from the View.

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

update

public void update(ISnappingResult snappingResult,
                   int hdc)
            throws java.io.IOException,
                   AutomationException
Sets the current mouse location and snap result.

Specified by:
update in interface ISnappingFeedback
Parameters:
snappingResult - A reference to a com.esri.arcgis.controls.ISnappingResult (in)
hdc - The hdc (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refresh

public void refresh(int hdc)
             throws java.io.IOException,
                    AutomationException
Refresh the last update.

Specified by:
refresh in interface ISnappingFeedback
Parameters:
hdc - The hdc (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.