com.esri.arcgis.controls
Class IToolPositionCallbackProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.controls.IToolPositionCallbackProxy
All Implemented Interfaces:
IToolPositionCallback, Externalizable, Serializable

public class IToolPositionCallbackProxy
extends com.esri.arcgis.interop.Dispatch
implements IToolPositionCallback, Serializable

Provides access to members that indicate where on a map or globe the user has clicked.

Product Availability

Available with ArcGIS Engine.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IToolPositionCallbackProxy()
           
  IToolPositionCallbackProxy(Object obj)
           
protected IToolPositionCallbackProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void deactivated()
          Tool to no longer be the active tool.
 void mouseClicked(int lCookie, int button, int shift, int x, int y, double mapX, double mapY, ISpatialReference pSpace)
          Controls the number of decimal places the editor reports numbers with.
 void removeListener(String iidStr, Object theListener)
           
 
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

noncastable

public boolean noncastable
Constructor Detail

IToolPositionCallbackProxy

public IToolPositionCallbackProxy()

IToolPositionCallbackProxy

public IToolPositionCallbackProxy(Object obj)
                           throws IOException
Throws:
IOException

IToolPositionCallbackProxy

protected IToolPositionCallbackProxy(Object obj,
                                     String iid)
                              throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

mouseClicked

public void mouseClicked(int lCookie,
                         int button,
                         int shift,
                         int x,
                         int y,
                         double mapX,
                         double mapY,
                         ISpatialReference pSpace)
                  throws IOException,
                         AutomationException
Controls the number of decimal places the editor reports numbers with.

Product Availability

Available with ArcGIS Engine.

Specified by:
mouseClicked in interface IToolPositionCallback
Parameters:
lCookie - The lCookie (in)
button - The button (in)
shift - The shift (in)
x - The x (in)
y - The y (in)
mapX - The mapX (in)
mapY - The mapY (in)
pSpace - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deactivated

public void deactivated()
                 throws IOException,
                        AutomationException
Tool to no longer be the active tool.

Product Availability

Available with ArcGIS Engine.

Specified by:
deactivated in interface IToolPositionCallback
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.