com.esri.arcgis.carto
Interface IFeatureCache2

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
FeatureCache, IFeatureCache2Proxy

public interface IFeatureCache2
extends java.io.Serializable

COM Interface 'IFeatureCache2'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control a cache of features in memory for a particular spatial extent.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDfcf1e491_5ba6_11d4_8367_0080c7e20671
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void addFeatures(IFeatureClass fclass, IEnvelope clip)
          Fills the cache with features from the featureclass.
 void addLayers(IEnumLayer layers, IEnvelope clip)
          Fills the cache with the features from the specified layers.
 boolean contains(IPoint point)
          Returns true if the point is contained in the cache.
 int getCount()
          The number of features in the cache.
 IFeature getFeature(int index)
          The nth feature.
 void initialize(IPoint point, double size)
          Initializes the cache with a given size and location.
 

Field Detail

IIDfcf1e491_5ba6_11d4_8367_0080c7e20671

static final int IIDfcf1e491_5ba6_11d4_8367_0080c7e20671
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

addFeatures

void addFeatures(IFeatureClass fclass,
                 IEnvelope clip)
                 throws java.io.IOException,
                        AutomationException
Fills the cache with features from the featureclass. Clip envelope may be null.

Parameters:
fclass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
clip - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addLayers

void addLayers(IEnumLayer layers,
               IEnvelope clip)
               throws java.io.IOException,
                      AutomationException
Fills the cache with the features from the specified layers. Clip envelope may be null.

Parameters:
layers - A reference to a com.esri.arcgis.carto.IEnumLayer (in)
clip - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initialize

void initialize(IPoint point,
                double size)
                throws java.io.IOException,
                       AutomationException
Initializes the cache with a given size and location.

Parameters:
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
size - The size (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

contains

boolean contains(IPoint point)
                 throws java.io.IOException,
                        AutomationException
Returns true if the point is contained in the cache.

Parameters:
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The contains
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

int getCount()
             throws java.io.IOException,
                    AutomationException
The number of features in the cache.

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

getFeature

IFeature getFeature(int index)
                    throws java.io.IOException,
                           AutomationException
The nth feature.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeature
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.