com.esri.arcgis.carto
Interface IEnumLayer

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IEnumLayerProxy

public interface IEnumLayer
extends java.io.Serializable

Provides access to members that allow iteration through a set of layers.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Remarks

IEnumLayer provides access to an enumeration of layers as would be returned by IMap::Layers.


Method Summary
 ILayer next()
          The next layer in the set.
 void reset()
          Resets iterator to first layer in the set.
 

Method Detail

next

public ILayer next()
            throws java.io.IOException,
                   AutomationException
The next layer in the set.

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Resets iterator to first layer in the set.

Supported Platforms

Windows, Solaris, Linux

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