com.esri.arcgis.carto
Interface IElementCollection

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ElementCollection, IElementCollectionProxy

public interface IElementCollection
extends java.io.Serializable

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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDce8f3971_e9be_11d1_a232_080009b6f22b
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void add(IElement element, int linkedFeatureID)
          Adds an element to the collection.
 void clear()
          Removes all the elements in the collection.
 int getCount()
          Number of elements in the collection.
 void queryItem(int index, IElement[] element, int[] linkedFeatureID)
          Element at the given index.
 void remove(IElement element)
          Remove an element from the collection.
 

Field Detail

IIDce8f3971_e9be_11d1_a232_080009b6f22b

static final int IIDce8f3971_e9be_11d1_a232_080009b6f22b
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

add

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

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

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

Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryItem

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

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

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

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

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

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.