com.esri.arcgis.system
Class IParentExtensionProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.system.IParentExtensionProxy
All Implemented Interfaces:
IParentExtension, Externalizable, Serializable

public class IParentExtensionProxy
extends com.esri.arcgis.interop.Dispatch
implements IParentExtension, Serializable

Provides access to the child extensions of this extension. Indicates that this extension has child extensions.

Description

Implement the IParentExtension interface to indicate other 'child' related extensions and implement the IChildExtension interface within each 'child' extension. The 'parent' extension appears as an expandable folder in the Extensions dialog and each 'child' extension appears as an item in the folder.

For example, the StreetMapEurope 'parent' extension implements IParentExtension and each 'child' extension (each country in Europe) implements IChildExtension.

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
  IParentExtensionProxy()
           
  IParentExtensionProxy(Object obj)
           
protected IParentExtensionProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IExtension getChild(int index)
          The indicated child extension.
 int getChildCount()
          The number of child extensions.
 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

IParentExtensionProxy

public IParentExtensionProxy()

IParentExtensionProxy

public IParentExtensionProxy(Object obj)
                      throws IOException
Throws:
IOException

IParentExtensionProxy

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

getChildCount

public int getChildCount()
                  throws IOException,
                         AutomationException
The number of child extensions.

Description

Returns the number of Child extensions belonging to this extension.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getChildCount in interface IParentExtension
Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getChild

public IExtension getChild(int index)
                    throws IOException,
                           AutomationException
The indicated child extension.

Product Availability

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

Specified by:
getChild in interface IParentExtension
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.system.IExtension
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.