|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.arcmapui.ISelectFeaturesOperationProxy
public class ISelectFeaturesOperationProxy
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.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
ISelectFeaturesOperationProxy()
|
|
ISelectFeaturesOperationProxy(Object obj)
|
protected |
ISelectFeaturesOperationProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
removeListener(String iidStr,
Object theListener)
|
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. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public ISelectFeaturesOperationProxy()
public ISelectFeaturesOperationProxy(Object obj) throws IOException
IOException
protected ISelectFeaturesOperationProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void setLayerByRef(ILayer rhs1) throws IOException, AutomationException
setLayerByRef
in interface ISelectFeaturesOperation
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.public void setSelectionSetByRef(ISelectionSet rhs1) throws IOException, AutomationException
setSelectionSetByRef
in interface ISelectFeaturesOperation
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.public void setActiveViewByRef(IActiveView rhs1) throws IOException, AutomationException
setActiveViewByRef
in interface ISelectFeaturesOperation
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 |