|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.editor.IEditEvents2Adapter
public class IEditEvents2Adapter
Constructor Summary | |
---|---|
IEditEvents2Adapter()
|
Method Summary | |
---|---|
void |
beforeStopEditing(IEditEvents2BeforeStopEditingEvent theEvent)
Fired before StopEditing happens. |
void |
beforeStopOperation(IEditEvents2BeforeStopOperationEvent theEvent)
Called before StopOperation is called. |
void |
onAbort(IEditEvents2OnAbortEvent theEvent)
Called when AbortOperation is called. |
void |
onCurrentZChanged(IEditEvents2OnCurrentZChangedEvent theEvent)
Called when the CurrentZ changes. |
void |
onSaveEdits(IEditEvents2OnSaveEditsEvent theEvent)
Called when edits are saved. |
void |
onStartOperation(IEditEvents2OnStartOperationEvent theEvent)
Called when StartOperation is called. |
void |
onStopOperation(IEditEvents2OnStopOperationEvent theEvent)
Called when StopOperation is called. |
void |
onVertexAdded(IEditEvents2OnVertexAddedEvent theEvent)
Called after a point/vertex is added to the sketch. |
void |
onVertexDeleted(IEditEvents2OnVertexDeletedEvent theEvent)
Called after a point is deleted from the sketch. |
void |
onVertexMoved(IEditEvents2OnVertexMovedEvent theEvent)
Called after a vertex/point has been moved in the sketch. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IEditEvents2Adapter()
Method Detail |
---|
public void onCurrentZChanged(IEditEvents2OnCurrentZChangedEvent theEvent) throws IOException, AutomationException
The OnCurrentZChanged event is fired when the value for IEditor::CurrentZ is modified. IEditor::CurrentZ can be altered programmatically or through the Current Z control available under the Editor category in the Customize dialog.
onCurrentZChanged
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onVertexMoved(IEditEvents2OnVertexMovedEvent theEvent) throws IOException, AutomationException
OnVertexMoved is fired when the location of a vertex in the edit sketch is modified. If the an edit sketch vertex is modified programmatically, call IEditSketch2::VertexMoved to ensure all clients listening for this event are notified.
onVertexMoved
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onVertexAdded(IEditEvents2OnVertexAddedEvent theEvent) throws IOException, AutomationException
When IEditSketch2::VertexAdded is called, all clients listening to IEditEvents2::OnVertexAdded are notified. This may be used to ensure the maximum number of points in a particular sketch is not exceeded, or if vertex attributes need to be set on each vertex when it is added to the edit sketch.
onVertexAdded
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onVertexDeleted(IEditEvents2OnVertexDeletedEvent theEvent) throws IOException, AutomationException
When IEditSketch2::VertexDeleted is called, all clients listening to IEditEvents2::OnVertexDeleted are notified.
onVertexDeleted
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void beforeStopEditing(IEditEvents2BeforeStopEditingEvent theEvent) throws IOException, AutomationException
The BeforeStopEditing event is called before edits are committed or discarded. Use this event to perform any processing of the features before the edits are committed.
beforeStopEditing
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onAbort(IEditEvents2OnAbortEvent theEvent) throws IOException, AutomationException
OnAbort is called whenever an edit operation is aborted.
onAbort
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onStartOperation(IEditEvents2OnStartOperationEvent theEvent) throws IOException, AutomationException
OnStartOperation is raised when IEditor::StartOperation is called. The OnStartOperation event is not fired for SketchOperations.
onStartOperation
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void beforeStopOperation(IEditEvents2BeforeStopOperationEvent theEvent) throws IOException, AutomationException
BeforeStopOperation is called before the operation is finished (when the sketch is discarded). Use this event to manipulate the sketch geometry before it is committed.
beforeStopOperation
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onStopOperation(IEditEvents2OnStopOperationEvent theEvent) throws IOException, AutomationException
OnStopOperation is called when the operation is successfully completed. At this point the feature has been created but the edit sketch is still available.
onStopOperation
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onSaveEdits(IEditEvents2OnSaveEditsEvent theEvent) throws IOException, AutomationException
The OnSaveEdits event is fired whenever a user issues the Save Edits command in the Editor. This event is not raised when a user stops an edit session and chooses to save edits, or if IEditor::StopEditing is called.
onSaveEdits
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |