com.esri.arcgis.editor
Interface IEditSelectionCache3

All Superinterfaces:
Serializable
All Known Implementing Classes:
EditSelectionCache

public interface IEditSelectionCache3
extends Serializable

Provides access to additional members that cache the selection for fast hit testing.

When To Use

Use the EditSelectionCache object to quickly determine if the mouse is
over a selected feature, including annotation features.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 boolean hitTest(IPoint loc)
          Tests if the location is over the selection or not.
 void initialize(IEditor editor, int sizePixels, boolean blockTopoFeatures, boolean annoOnly)
          Initializes the cache using the editor's selection.
 

Method Detail

hitTest

boolean hitTest(IPoint loc)
                throws IOException,
                       AutomationException
Tests if the location is over the selection or not.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

initialize

void initialize(IEditor editor,
                int sizePixels,
                boolean blockTopoFeatures,
                boolean annoOnly)
                throws IOException,
                       AutomationException
Initializes the cache using the editor's selection.

Remarks

At ArcGIS 8.3 and later versions, the BlockTopoFeatures argument will always be evaluated as True. This is a result of the restructuring of the underlying mechanism for working with topological primitives.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
editor - A reference to a com.esri.arcgis.editor.IEditor (in)
sizePixels - The sizePixels (in)
blockTopoFeatures - The blockTopoFeatures (in)
annoOnly - The annoOnly (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.