com.esri.arcgis.editor
Class IEditToolEventsProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.editor.IEditToolEventsProxy
All Implemented Interfaces:
IEditToolEvents, Externalizable, Serializable, EventListener

public class IEditToolEventsProxy
extends com.esri.arcgis.interop.Dispatch
implements IEditToolEvents, Serializable

Provides access to events generated by the edit tool.

Remarks

These events are only broadcast if the user is moving the tool around the map with the left mouse button depressed.

When To Use

Wire up this event interface if you are interested in tracking the outbound events triggered by the interaction of the Edit Tool over the map.

Product Availability

Available with ArcGIS Desktop.

See Also:
ISnapEnvironment, IEditProperties, IEditTask.activate(com.esri.arcgis.editor.IEditor, com.esri.arcgis.editor.IEditTask), IEditor, IEditLayers, IEditTask.deactivate(), IEditAttributeProperties, IEditEvents2, IEditTask.onFinishSketch(), IDatasetEdit, IDatasetEditInfo, IEditTask.onDeleteSketch(), IEditTask.getName(), IEditEvents, Editor, IEditSketch, 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
  IEditToolEventsProxy()
           
  IEditToolEventsProxy(Object obj)
           
protected IEditToolEventsProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void onBeginMove(IEditToolEventsOnBeginMoveEvent theEvent)
          Called when the mouse button is first depressed.
 void onFinishMove(IEditToolEventsOnFinishMoveEvent theEvent)
          Called when the left mouse button is released.
 void onMove(IEditToolEventsOnMoveEvent theEvent)
          Called when mouse moves while left mouse button is depressed.
 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

IEditToolEventsProxy

public IEditToolEventsProxy()

IEditToolEventsProxy

public IEditToolEventsProxy(Object obj)
                     throws IOException
Throws:
IOException

IEditToolEventsProxy

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

onBeginMove

public void onBeginMove(IEditToolEventsOnBeginMoveEvent theEvent)
                 throws IOException,
                        AutomationException
Called when the mouse button is first depressed.

Remarks

This event is fired in conjuction with the Edit Tool.

In order for this event to fire, the user must 1) have the Edit Tool set as the active tool, 2) have the left mouse button depressed, 3) have one or more features selected and 4) start to move over the map.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
onBeginMove in interface IEditToolEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
ISnapEnvironment, IEditProperties, IEditTask.activate(com.esri.arcgis.editor.IEditor, com.esri.arcgis.editor.IEditTask), IEditor, IEditLayers, IEditTask.deactivate(), IEditAttributeProperties, IEditEvents2, IEditTask.onFinishSketch(), IDatasetEdit, IDatasetEditInfo, IEditTask.onDeleteSketch(), IEditTask.getName(), IEditEvents, Editor, IEditSketch

onMove

public void onMove(IEditToolEventsOnMoveEvent theEvent)
            throws IOException,
                   AutomationException
Called when mouse moves while left mouse button is depressed.

Remarks

This event is fired in conjuction with the Edit Tool.

In order for this event to fire, the user must 1) have the Edit Tool set as the active tool, 2) have the left mouse button depressed, 3) have at least one feature selected, and 4) be moving over the map.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
onMove in interface IEditToolEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
ISnapEnvironment, IEditProperties, IEditTask.activate(com.esri.arcgis.editor.IEditor, com.esri.arcgis.editor.IEditTask), IEditor, IEditLayers, IEditTask.deactivate(), IEditAttributeProperties, IEditEvents2, IEditTask.onFinishSketch(), IDatasetEdit, IDatasetEditInfo, IEditTask.onDeleteSketch(), IEditTask.getName(), IEditEvents, Editor, IEditSketch

onFinishMove

public void onFinishMove(IEditToolEventsOnFinishMoveEvent theEvent)
                  throws IOException,
                         AutomationException
Called when the left mouse button is released.

Remarks

This event is fired in conjuction with the Edit Tool.

In order for this event to fire, the user must 1) have the Edit Tool set as the active tool, 2) have at least one feature selected, and 3) release the left mouse button after having been moving around the map.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
onFinishMove in interface IEditToolEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
ISnapEnvironment, IEditProperties, IEditTask.activate(com.esri.arcgis.editor.IEditor, com.esri.arcgis.editor.IEditTask), IEditor, IEditLayers, IEditTask.deactivate(), IEditAttributeProperties, IEditEvents2, IEditTask.onFinishSketch(), IDatasetEdit, IDatasetEditInfo, IEditTask.onDeleteSketch(), IEditTask.getName(), IEditEvents, Editor, IEditSketch