com.esri.arcgis.controls
Class ARFeatureCursor

java.lang.Object
  extended bycom.esri.arcgis.controls.ARFeatureCursor
All Implemented Interfaces:
IARFeatureCursor, java.io.Serializable

public class ARFeatureCursor
extends java.lang.Object
implements IARFeatureCursor

ARFeatureCursor object.

Product Availability

Available with ArcGIS Engine.

See Also:
Serialized Form

Constructor Summary
ARFeatureCursor(java.lang.Object obj)
          Construct a ARFeatureCursor using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 IARFeatureCursor getAsIARFeatureCursor()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 int hashCode()
          the hashcode for this object
 IARFeature nextARFeature()
          Retrieves the next feature in the enumeration sequence.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ARFeatureCursor

public ARFeatureCursor(java.lang.Object obj)
                throws java.io.IOException
Construct a ARFeatureCursor using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ARFeatureCursor.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
ARFeatureCursor o = (ARFeatureCursor)obj; // will not work

ARFeatureCursor o = new ARFeatureCursor(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server ARFeatureCursor theARFeatureCursor = (ARFeatureCursor) obj;

Throws:
java.io.IOException - if there are interop problems
Method Detail

getAsIARFeatureCursor

public IARFeatureCursor getAsIARFeatureCursor()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


equals

public boolean equals(java.lang.Object o)
Compare this object with another


hashCode

public int hashCode()
the hashcode for this object


nextARFeature

public IARFeature nextARFeature()
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IARFeatureCursor
Retrieves the next feature in the enumeration sequence.

Specified by:
nextARFeature in interface IARFeatureCursor
Returns:
A reference to a com.esri.arcgis.controls.IARFeature
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.