com.esri.arcgis.controls
Interface IToolPositionCallback

All Superinterfaces:
Serializable
All Known Implementing Classes:
IToolPositionCallbackProxy

public interface IToolPositionCallback
extends Serializable

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

Product Availability

Available with ArcGIS Engine.


Method Summary
 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.
 

Method Detail

mouseClicked

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.

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

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

Product Availability

Available with ArcGIS Engine.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.