com.esri.arcgis.controls
Class ARFeatureSet

java.lang.Object
  extended by com.esri.arcgis.controls.ARFeatureSet
All Implemented Interfaces:
IARFeatureSet, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class ARFeatureSet
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IARFeatureSet

COM Class 'ARFeatureSet'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriPublisherControls.olb'

Description 'ARFeatureSet object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.controls.IARFeatureSet
DISPID_1_GET_NAME, DISPID_10_NAME, DISPID_2_GET_NAME, DISPID_3_NAME, DISPID_4_NAME, DISPID_5_GET_NAME, DISPID_5_PUT_NAME, DISPID_6_NAME, DISPID_7_NAME, DISPID_8_NAME, DISPID_9_NAME, IID, IIDf49f1221_e39f_4c07_acfb_f61d2c6e6920, xxDummy
 
Constructor Summary
ARFeatureSet(java.lang.Object obj)
          Construct a ARFeatureSet using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void centerAt()
          Centers the map display on the center of the ARFeatureSet.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void flash()
          Flashes the features in the ARFeatureSet.
 void flicker()
          Flickers the features in the ARFeatureSet.
 IARFeature getARFeature(int index)
          The feature at the specified index.
 int getARFeatureCount()
          The number of features in the ARFeatureSet.
 java.lang.Object getCustomProperty()
          A property to associate data with an object.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void highlight(boolean bHighlight, int color)
          Highlights the features in the ARFeatureSet.
 IARFeature next()
          Retrieves the next feature in the ARFeatureSet.
 void release()
          Release a ARFeatureSet.
 void reset()
          Resets the ARFeatureSet to the beginning.
 void setCustomProperty(java.lang.Object pVal)
          A property to associate data with an object.
 void zoomTo()
          Zooms the map to display the ARFeatureSet.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ARFeatureSet

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

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

Throws:
java.io.IOException - if there are interop problems ARFeatureSet theARFeatureSet = (ARFeatureSet) obj;
Method Detail

equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ARFeatureSet.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getARFeatureCount

public int getARFeatureCount()
                      throws java.io.IOException,
                             AutomationException
The number of features in the ARFeatureSet.

Specified by:
getARFeatureCount in interface IARFeatureSet
Returns:
The lCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getARFeature

public IARFeature getARFeature(int index)
                        throws java.io.IOException,
                               AutomationException
The feature at the specified index.

Specified by:
getARFeature in interface IARFeatureSet
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.controls.IARFeature
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

public IARFeature next()
                throws java.io.IOException,
                       AutomationException
Retrieves the next feature in the ARFeatureSet.

Specified by:
next in interface IARFeatureSet
Returns:
A reference to a com.esri.arcgis.controls.IARFeature
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 the ARFeatureSet to the beginning.

Specified by:
reset in interface IARFeatureSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCustomProperty

public java.lang.Object getCustomProperty()
                                   throws java.io.IOException,
                                          AutomationException
A property to associate data with an object.

Specified by:
getCustomProperty in interface IARFeatureSet
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCustomProperty

public void setCustomProperty(java.lang.Object pVal)
                       throws java.io.IOException,
                              AutomationException
A property to associate data with an object.

Specified by:
setCustomProperty in interface IARFeatureSet
Parameters:
pVal - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

centerAt

public void centerAt()
              throws java.io.IOException,
                     AutomationException
Centers the map display on the center of the ARFeatureSet.

Specified by:
centerAt in interface IARFeatureSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

flash

public void flash()
           throws java.io.IOException,
                  AutomationException
Flashes the features in the ARFeatureSet.

Specified by:
flash in interface IARFeatureSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

flicker

public void flicker()
             throws java.io.IOException,
                    AutomationException
Flickers the features in the ARFeatureSet.

Specified by:
flicker in interface IARFeatureSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

zoomTo

public void zoomTo()
            throws java.io.IOException,
                   AutomationException
Zooms the map to display the ARFeatureSet.

Specified by:
zoomTo in interface IARFeatureSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

highlight

public void highlight(boolean bHighlight,
                      int color)
               throws java.io.IOException,
                      AutomationException
Highlights the features in the ARFeatureSet.

Specified by:
highlight in interface IARFeatureSet
Parameters:
bHighlight - The bHighlight (in)
color - The color (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.