com.esri.arcgis.arcmapui
Class ISelectFeaturesOperationProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.arcmapui.ISelectFeaturesOperationProxy
All Implemented Interfaces:
ISelectFeaturesOperation, Externalizable, Serializable

public class ISelectFeaturesOperationProxy
extends com.esri.arcgis.interop.Dispatch
implements ISelectFeaturesOperation, Serializable

Provides access to members that control the Select Features operation.

Remarks

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.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

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

noncastable

public boolean noncastable
Constructor Detail

ISelectFeaturesOperationProxy

public ISelectFeaturesOperationProxy()

ISelectFeaturesOperationProxy

public ISelectFeaturesOperationProxy(Object obj)
                              throws IOException
Throws:
IOException

ISelectFeaturesOperationProxy

protected ISelectFeaturesOperationProxy(Object obj,
                                        String iid)
                                 throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

setLayerByRef

public void setLayerByRef(ILayer rhs1)
                   throws IOException,
                          AutomationException
The layer from which to select features.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setLayerByRef in interface ISelectFeaturesOperation
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSelectionSetByRef

public void setSelectionSetByRef(ISelectionSet rhs1)
                          throws IOException,
                                 AutomationException
The selection set.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setSelectionSetByRef in interface ISelectFeaturesOperation
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setActiveViewByRef

public void setActiveViewByRef(IActiveView rhs1)
                        throws IOException,
                               AutomationException
The active view (for refresh).

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setActiveViewByRef in interface ISelectFeaturesOperation
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IActiveView (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.