com.esri.arcgis.carto
Class IElementCollectionProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.IElementCollectionProxy
All Implemented Interfaces:
IElementCollection, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'IElementCollection'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control the Graphics element collection.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

public class IElementCollectionProxy
extends com.esri.arcgis.interop.Dispatch
implements IElementCollection, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.carto.IElementCollection
IID, IIDce8f3971_e9be_11d1_a232_080009b6f22b
 
Constructor Summary
  IElementCollectionProxy()
          Deprecated. For internal use only
  IElementCollectionProxy(java.lang.Object obj)
          Deprecated.  
protected IElementCollectionProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IElementCollectionProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IElementCollectionProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void add(IElement element, int linkedFeatureID)
          Deprecated. Adds an element to the collection.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 void clear()
          Deprecated. Removes all the elements in the collection.
 int getCount()
          Deprecated. Number of elements in the collection.
 void queryItem(int index, IElement[] element, int[] linkedFeatureID)
          Deprecated. Element at the given index.
 void remove(IElement element)
          Deprecated. Remove an element from the collection.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 
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

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IElementCollectionProxy

public IElementCollectionProxy(java.lang.String CLSID,
                               java.lang.String host,
                               com.esri.arcgis.interop.AuthInfo authInfo)
                        throws java.net.UnknownHostException,
                               java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IElementCollectionProxy

public IElementCollectionProxy()
Deprecated. 
For internal use only


IElementCollectionProxy

public IElementCollectionProxy(java.lang.Object obj)
                        throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IElementCollectionProxy

protected IElementCollectionProxy(java.lang.Object obj,
                                  java.lang.String iid)
                           throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IElementCollectionProxy

protected IElementCollectionProxy(java.lang.String CLSID,
                                  java.lang.String iid,
                                  java.lang.String host,
                                  com.esri.arcgis.interop.AuthInfo authInfo)
                           throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

add

public void add(IElement element,
                int linkedFeatureID)
         throws java.io.IOException,
                AutomationException
Deprecated. 
Adds an element to the collection.

Specified by:
add in interface IElementCollection
Parameters:
element - A reference to a com.esri.arcgis.carto.IElement (in)
linkedFeatureID - The linkedFeatureID (in, optional, pass -1 if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
Deprecated. 
Number of elements in the collection.

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

queryItem

public void queryItem(int index,
                      IElement[] element,
                      int[] linkedFeatureID)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Element at the given index.

Specified by:
queryItem in interface IElementCollection
Parameters:
index - The index (in)
element - A reference to a com.esri.arcgis.carto.IElement (out: use single element array)
linkedFeatureID - The linkedFeatureID (out: use single element array, optional, pass single element of null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

public void clear()
           throws java.io.IOException,
                  AutomationException
Deprecated. 
Removes all the elements in the collection.

Specified by:
clear in interface IElementCollection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(IElement element)
            throws java.io.IOException,
                   AutomationException
Deprecated. 
Remove an element from the collection.

Specified by:
remove in interface IElementCollection
Parameters:
element - A reference to a com.esri.arcgis.carto.IElement (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.