|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEditSelectionCache
Provides access to members that cache the selection for fast hit testing.
Use the EditSelectionCache object to quickly determine if the mouse is
over a selected feature.
Method Summary | |
---|---|
boolean |
hitTest(IPoint loc)
Tests if the location is over the selection or not. |
void |
initialize(IEditor editor,
int sizePixels)
Initializes the cache using the editor's selection. |
Method Detail |
---|
void initialize(IEditor editor, int sizePixels) throws IOException, AutomationException
Use Initialize to fill the cache with features from the editor's current selection. When the editor's selection changes you will need to rebuild the cache. Pixels determines the height and width of the cache.
editor
- A reference to a com.esri.arcgis.editor.IEditor (in)sizePixels
- The sizePixels (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean hitTest(IPoint loc) throws IOException, AutomationException
loc
- A reference to a com.esri.arcgis.geometry.IPoint (in)
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 |