|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.controls.ARFeatureCursor
public class ARFeatureCursor
ARFeatureCursor object.
Use the ARFeatureCursor object to iterate over the set of ARFeature objects that are returned from the IARLayer::SearchARFeatures and IARMap::SearchARFeatures methods. An ARFeatureCursor allows ARFeature objects to be returned one at a time; this is useful if there are a large number of ARFeature objects.
Constructor Summary | |
---|---|
ARFeatureCursor(Object obj)
Construct a ARFeatureCursor using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public ARFeatureCursor(Object obj) throws IOException
obj
to ARFeatureCursor
. *
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
IOException
- if there are interop problems
ARFeatureCursor theARFeatureCursor = (ARFeatureCursor) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IARFeature nextARFeature() throws IOException, AutomationException
The NextARFeature method returns the next ARFeature object within the subset. The next ARFeature is created and allocated to the ARFeatureCursor. The ARFeatureCursor is forward only and does not support retrieving ARFeature objects that have already been retrieved, or making multiple passes over the ARFeature’s. If an application needs to make multiple passes over the data, the application needs to re-execute the ArcReaderSearchDef that returned the ARFeatureCursor.
nextARFeature
in interface IARFeatureCursor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |