com.esri.arcgis.carto
Class IElementCollection2Proxy

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

Deprecated. Internal use only. Proxy for COM Interface 'IElementCollection2'. Generated 3/19/2015 1:20:52 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 IElementCollection2Proxy
extends com.esri.arcgis.interop.Dispatch
implements IElementCollection2, 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.IElementCollection2
IID, IIDb2bfc403_6b4c_4490_8878_ea62c4f49720
 
Constructor Summary
  IElementCollection2Proxy()
          Deprecated. For internal use only
  IElementCollection2Proxy(java.lang.Object obj)
          Deprecated.  
protected IElementCollection2Proxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IElementCollection2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IElementCollection2Proxy(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, int annotationClassID, int status)
          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, int[] annotationClassID, int[] status)
          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

IElementCollection2Proxy

public IElementCollection2Proxy(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

IElementCollection2Proxy

public IElementCollection2Proxy()
Deprecated. 
For internal use only


IElementCollection2Proxy

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

IElementCollection2Proxy

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

IElementCollection2Proxy

protected IElementCollection2Proxy(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,
                int annotationClassID,
                int status)
         throws java.io.IOException,
                AutomationException
Deprecated. 
Adds an element to the collection.

Specified by:
add in interface IElementCollection2
Parameters:
element - A reference to a com.esri.arcgis.carto.IElement (in)
linkedFeatureID - The linkedFeatureID (in, optional, pass 0 if not required)
annotationClassID - The annotationClassID (in, optional, pass -1 if not required)
status - A com.esri.arcgis.carto.esriAnnotationStatus constant (in, optional, pass 0 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 IElementCollection2
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,
                      int[] annotationClassID,
                      int[] status)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Element at the given index.

Specified by:
queryItem in interface IElementCollection2
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)
annotationClassID - The annotationClassID (out: use single element array, optional, pass single element of null if not required)
status - A com.esri.arcgis.carto.esriAnnotationStatus constant (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 IElementCollection2
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 IElementCollection2
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.