com.esri.arcgis.editor
Class IEditEvents5Proxy

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

public class IEditEvents5Proxy
extends com.esri.arcgis.interop.Dispatch
implements IEditEvents5, Serializable

Provides access to more editor events. Implement it to listen for specific events that occur during an edit session.

Product Availability

Available with ArcGIS Desktop.

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
  IEditEvents5Proxy()
           
  IEditEvents5Proxy(Object obj)
           
protected IEditEvents5Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void onCurrentTemplateChanged(IEditEvents5OnCurrentTemplateChangedEvent theEvent)
          Called when the current template changes.
 void onShapeConstructorChanged(IEditEvents5OnShapeConstructorChangedEvent theEvent)
          Called when the Shape Constructor changes.
 void onTemplateModified(IEditEvents5OnTemplateModifiedEvent theEvent)
          Called when a template is modified.
 void onTemplatesAdded(IEditEvents5OnTemplatesAddedEvent theEvent)
          Called when a templates are added.
 void onTemplatesRemoved(IEditEvents5OnTemplatesRemovedEvent theEvent)
          Called when a templates are removed.
 void onVertexSelectionChanged(IEditEvents5OnVertexSelectionChangedEvent theEvent)
          Called when the sketch's selected vertices changes.
 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

IEditEvents5Proxy

public IEditEvents5Proxy()

IEditEvents5Proxy

public IEditEvents5Proxy(Object obj)
                  throws IOException
Throws:
IOException

IEditEvents5Proxy

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

onCurrentTemplateChanged

public void onCurrentTemplateChanged(IEditEvents5OnCurrentTemplateChangedEvent theEvent)
                              throws IOException,
                                     AutomationException
Called when the current template changes.

Product Availability

Available with ArcGIS Desktop.

Specified by:
onCurrentTemplateChanged in interface IEditEvents5
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onTemplatesRemoved

public void onTemplatesRemoved(IEditEvents5OnTemplatesRemovedEvent theEvent)
                        throws IOException,
                               AutomationException
Called when a templates are removed.

Remarks

OnTemplatesRemoved is triggered whenever a feature template or set of templates are removed from the map. You should listen to this event if you are managing a list of templates to ensure your list remains synchronized. This event will be fired whenever a call to IEditor3.RemoveTemplates, IEditor3.RemoveAllTemplatesInLayer, or IEditor3.RemoveAllTemplatesInMap is made.

Product Availability

Available with ArcGIS Desktop.

Specified by:
onTemplatesRemoved in interface IEditEvents5
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onTemplatesAdded

public void onTemplatesAdded(IEditEvents5OnTemplatesAddedEvent theEvent)
                      throws IOException,
                             AutomationException
Called when a templates are added.

Remarks

OnTemplatesAdded is triggered whenever a feature template or set of templates are added to layers in the map. You should listen to this event if you are managing a list of templates to ensure your list remains synchronized. This event will be fired whenever a call to IEditor3.AddTemplates is made.

Product Availability

Available with ArcGIS Desktop.

Specified by:
onTemplatesAdded in interface IEditEvents5
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onTemplateModified

public void onTemplateModified(IEditEvents5OnTemplateModifiedEvent theEvent)
                        throws IOException,
                               AutomationException
Called when a template is modified.

Remarks

OnTemplateModified is triggered whenever a feature template's properties are updated. You should listen to this event if you are managing a list of templates to ensure your list remains synchronized. Clients that are updating the properties of an EditTemplate should call IEditor3.TemplateModified to ensure that all clients are properly notified through this event.

Product Availability

Available with ArcGIS Desktop.

Specified by:
onTemplateModified in interface IEditEvents5
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onVertexSelectionChanged

public void onVertexSelectionChanged(IEditEvents5OnVertexSelectionChangedEvent theEvent)
                              throws IOException,
                                     AutomationException
Called when the sketch's selected vertices changes.

Product Availability

Available with ArcGIS Desktop.

Specified by:
onVertexSelectionChanged in interface IEditEvents5
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onShapeConstructorChanged

public void onShapeConstructorChanged(IEditEvents5OnShapeConstructorChangedEvent theEvent)
                               throws IOException,
                                      AutomationException
Called when the Shape Constructor changes.

Product Availability

Available with ArcGIS Desktop.

Specified by:
onShapeConstructorChanged in interface IEditEvents5
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.