com.esri.arcgis.geodatabase
Class ILocatorUI2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.ILocatorUIProxy
          extended by com.esri.arcgis.geodatabase.ILocatorUI2Proxy
All Implemented Interfaces:
ILocatorUI, ILocatorUI2, Externalizable, Serializable

public class ILocatorUI2Proxy
extends ILocatorUIProxy
implements ILocatorUI2, Serializable

Provides access to members that control the locator's user interface.

Product Availability

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  ILocatorUI2Proxy()
           
  ILocatorUI2Proxy(Object obj)
           
protected ILocatorUI2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 boolean repairLocator(int parentWindow, ILocator locator, String title)
          Opens the user interface to repair a locator.
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.geodatabase.ILocatorUIProxy
createLocator, locatorProperties, matchTable
 
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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.geodatabase.ILocatorUI
createLocator, locatorProperties, matchTable
 

Constructor Detail

ILocatorUI2Proxy

public ILocatorUI2Proxy()

ILocatorUI2Proxy

public ILocatorUI2Proxy(Object obj)
                 throws IOException
Throws:
IOException

ILocatorUI2Proxy

protected ILocatorUI2Proxy(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 ILocatorUIProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class ILocatorUIProxy
Throws:
IOException

repairLocator

public boolean repairLocator(int parentWindow,
                             ILocator locator,
                             String title)
                      throws IOException,
                             AutomationException
Opens the user interface to repair a locator.

Remarks

The RepairLocator method displays the user interface for repairing locator. This method creates a new locator in the locator workspace specified, and returns a reference to the locator. If the user commits the changes to the locator using the user interface, this method returns a value of True. Otherwise, it returns a value of False.

The parentWindow parameter is a long integer value containing the handle to the parent window for the user interface. The user interface appears modally on top of this window.

The Locator parameter is a reference to the locator whose properties you want to modify using the user interface.

Product Availability

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

Specified by:
repairLocator in interface ILocatorUI2
Parameters:
parentWindow - The parentWindow (A COM typedef) (in)
locator - A reference to a com.esri.arcgis.geodatabase.ILocator (in)
title - The title (in)
Returns:
The ok
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class ILocatorUIProxy
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class ILocatorUIProxy
Throws:
IOException
ClassNotFoundException