com.esri.arcgis.carto
Interface ILookupLegendClass

All Superinterfaces:
Serializable
All Known Implementing Classes:
ClassBreaksRenderer, RepresentationRenderer, UniqueValueRenderer

public interface ILookupLegendClass
extends Serializable

Provides access to functionality for looking up a renderer's legend class via a feature.

Product Availability

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


Method Summary
 String getField(int index)
          Field at the specified index.
 int getFieldCount()
          Number of fields.
 int lookupLegendClass(IFeature feature, int[] legendGroupIdx)
          Returns the legend group and the legend class indexes for the input feature.
 

Method Detail

lookupLegendClass

int lookupLegendClass(IFeature feature,
                      int[] legendGroupIdx)
                      throws IOException,
                             AutomationException
Returns the legend group and the legend class indexes for the input feature.

Product Availability

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

Parameters:
feature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
legendGroupIdx - The legendGroupIdx (out: use single element array)
Returns:
The legendClassIdx
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldCount

int getFieldCount()
                  throws IOException,
                         AutomationException
Number of fields.

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.

getField

String getField(int index)
                throws IOException,
                       AutomationException
Field at the specified index.

Product Availability

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

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