|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.editor.IEditToolEventsProxy
public class IEditToolEventsProxy
Provides access to events generated by the edit tool.
These events are only broadcast if the user is moving the tool around the map with the left mouse button depressed.
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.
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 FormField 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 |
---|
public boolean noncastable
Constructor Detail |
---|
public IEditToolEventsProxy()
public IEditToolEventsProxy(Object obj) throws IOException
IOException
protected IEditToolEventsProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void onBeginMove(IEditToolEventsOnBeginMoveEvent theEvent) throws IOException, AutomationException
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.
onBeginMove
in interface IEditToolEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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
public void onMove(IEditToolEventsOnMoveEvent theEvent) throws IOException, AutomationException
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.
onMove
in interface IEditToolEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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
public void onFinishMove(IEditToolEventsOnFinishMoveEvent theEvent) throws IOException, AutomationException
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.
onFinishMove
in interface IEditToolEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |