com.esri.arcgis.carto
Interface IEnumLayer

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

public interface IEnumLayer
extends java.io.Serializable

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

Remarks

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


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

Method Detail

next

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

Product Availability

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

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

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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