com.esri.arcgis.carto
Interface IGraphicFeatureLayers

All Superinterfaces:
Serializable
All Known Implementing Classes:
GraphicFeatureLayers

public interface IGraphicFeatureLayers
extends Serializable

Graphic Feature Layers

Product Availability

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


Method Summary
 void add(IGraphicFeatureLayer graphicFeatureLayer)
          Adds a GraphicFeatureLayer.
 int getCount()
          GraphicFeatureLayer count.
 IGraphicFeatureLayer getElement(int index)
          The GraphicFeatureLayer at the specified position.
 void insert(int index, IGraphicFeatureLayer graphicFeatureLayer)
          Adds a GraphicFeatureLayer at the specified position.
 void remove(int index)
          Removes the GraphicFeatureLayer at the specified position.
 void removeAll()
          Removes all GraphicFeatureLayer elements.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
GraphicFeatureLayer count.

Product Availability

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

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

getElement

IGraphicFeatureLayer getElement(int index)
                                throws IOException,
                                       AutomationException
The GraphicFeatureLayer at the specified position.

Product Availability

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

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.carto.IGraphicFeatureLayer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(int index)
            throws IOException,
                   AutomationException
Removes the GraphicFeatureLayer at the specified position.

Product Availability

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

Parameters:
index - The index (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

void removeAll()
               throws IOException,
                      AutomationException
Removes all GraphicFeatureLayer elements.

Product Availability

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

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

add

void add(IGraphicFeatureLayer graphicFeatureLayer)
         throws IOException,
                AutomationException
Adds a GraphicFeatureLayer.

Product Availability

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

Parameters:
graphicFeatureLayer - A reference to a com.esri.arcgis.carto.IGraphicFeatureLayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

void insert(int index,
            IGraphicFeatureLayer graphicFeatureLayer)
            throws IOException,
                   AutomationException
Adds a GraphicFeatureLayer at the specified position.

Product Availability

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

Parameters:
index - The index (in)
graphicFeatureLayer - A reference to a com.esri.arcgis.carto.IGraphicFeatureLayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.