com.esri.arcgis.location
Class ILocatorEventsProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.location.ILocatorEventsProxy
All Implemented Interfaces:
ILocatorEvents, Externalizable, Serializable

public class ILocatorEventsProxy
extends com.esri.arcgis.interop.Dispatch
implements ILocatorEvents, Serializable

Provides access to members to respond to locator management operations.

Description

The ILocatorEvents interface is implemented by all locators. ArcObjects applications call the methods on the ILocatorEvents interface when one of the following management functions is performed: Copy; Create; Delete; or Rename. The locator implements its specific behavior in response to these management operations. Typically, a LocatorWorkspace object will call methods on the ILocatorEvents interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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
  ILocatorEventsProxy()
           
  ILocatorEventsProxy(Object obj)
           
protected ILocatorEventsProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void onBuild(boolean rebuild, String tableName, String configKeyword, ITrackCancel pCancelTracker)
          Responds to the client building or rebuilding the locator.
 void onCopy(ILocatorWorkspace pNewLocWks, String newName, IPropertySet pNewProps, String configKeyword, ITrackCancel pCancelTracker)
          Responds to the client copying the locator.
 void onDelete(ITrackCancel pCancelTracker)
          Responds to the client deleting the locator.
 void onRename(String newName, ITrackCancel pCancelTracker)
          Responds to the client renaming the locator.
 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

ILocatorEventsProxy

public ILocatorEventsProxy()

ILocatorEventsProxy

public ILocatorEventsProxy(Object obj)
                    throws IOException
Throws:
IOException

ILocatorEventsProxy

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

onBuild

public void onBuild(boolean rebuild,
                    String tableName,
                    String configKeyword,
                    ITrackCancel pCancelTracker)
             throws IOException,
                    AutomationException
Responds to the client building or rebuilding the locator.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
onBuild in interface ILocatorEvents
Parameters:
rebuild - The rebuild (in)
tableName - The tableName (in)
configKeyword - The configKeyword (in)
pCancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onDelete

public void onDelete(ITrackCancel pCancelTracker)
              throws IOException,
                     AutomationException
Responds to the client deleting the locator.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
onDelete in interface ILocatorEvents
Parameters:
pCancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onRename

public void onRename(String newName,
                     ITrackCancel pCancelTracker)
              throws IOException,
                     AutomationException
Responds to the client renaming the locator.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
onRename in interface ILocatorEvents
Parameters:
newName - The newName (in)
pCancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onCopy

public void onCopy(ILocatorWorkspace pNewLocWks,
                   String newName,
                   IPropertySet pNewProps,
                   String configKeyword,
                   ITrackCancel pCancelTracker)
            throws IOException,
                   AutomationException
Responds to the client copying the locator.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
onCopy in interface ILocatorEvents
Parameters:
pNewLocWks - A reference to a com.esri.arcgis.geodatabase.ILocatorWorkspace (in)
newName - The newName (in)
pNewProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
configKeyword - The configKeyword (in)
pCancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.