|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISelectFeaturesOperation
Provides access to members that control the Select Features operation.
Use this interface to perform selection operation. The changes in the selection will then be undoable or redoable.
To use, simply create a SelectFeaturesOperation object and set the values of the properties as follow:
The ActiveView property will contain a reference to the active view to refresh on undo/redo, typically the current active view.
Layer is the layer on which to perform the selection
Store into SelectionSet the selection set resulting from performing the operation.
Then pass the SelectFeaturesOperation object to the Do method of an OperationStack object, the operation will be performed.
Use IActiveView::PartialRefresh to refresh the selection on the map.
The selection operation you performed can now be undone or redone at will.
Method Summary | |
---|---|
void |
setActiveViewByRef(IActiveView rhs1)
The active view (for refresh). |
void |
setLayerByRef(ILayer rhs1)
The layer from which to select features. |
void |
setSelectionSetByRef(ISelectionSet rhs1)
The selection set. |
Method Detail |
---|
void setLayerByRef(ILayer rhs1) throws IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSelectionSetByRef(ISelectionSet rhs1) throws IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setActiveViewByRef(IActiveView rhs1) throws IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.carto.IActiveView (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 |