com.esri.arcgis.carto
Interface IFeatureSelection

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CadAnnotationLayer, CadastralFabricSubLayer, CadFeatureLayer, CoverageAnnotationLayer, DimensionLayer, FDOGraphicsLayer, FeatureLayer, GdbRasterCatalogLayer, IFeatureSelectionProxy, ImageServerLayer, IMSSubFeatureLayer, TemporalFeatureLayer

public interface IFeatureSelection
extends java.io.Serializable

COM Interface 'IFeatureSelection'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control feature selection.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID9336a280_c9a3_11d1_847e_0000f875b9c6
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void add(IFeature feature)
          Adds a feature to the selection set.
 void clear()
          Clears the selection.
 double getBufferDistance()
          Buffer distance used for the selection.
 int getCombinationMethod()
          Combination method for the selection.
 IColor getSelectionColor()
          Selection color.
 ISelectionSet getSelectionSet()
          The selected set of features.
 ISymbol getSelectionSymbol()
          Selection symbol.
 boolean isSetSelectionSymbol()
          Indicates if the selected set of features is drawn using the SelectionSymbol.
 void selectFeatures(IQueryFilter filter, int method, boolean justOne)
          Selects features based upon the specifed criteria and combination method.
 void selectionChanged()
          Fires the features layer update event.
 void setBufferDistance(double distance)
          Buffer distance used for the selection.
 void setCombinationMethod(int method)
          Combination method for the selection.
 void setSelectionColorByRef(IColor color)
          Selection color.
 void setSelectionSetByRef(ISelectionSet selectionSet)
          The selected set of features.
 void setSelectionSymbolByRef(ISymbol symbol)
          Selection symbol.
 void setSetSelectionSymbol(boolean setSymbol)
          Indicates if the selected set of features is drawn using the SelectionSymbol.
 

Field Detail

IID9336a280_c9a3_11d1_847e_0000f875b9c6

static final int IID9336a280_c9a3_11d1_847e_0000f875b9c6
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getSelectionSet

ISelectionSet getSelectionSet()
                              throws java.io.IOException,
                                     AutomationException
The selected set of features.

Returns:
A reference to a com.esri.arcgis.geodatabase.ISelectionSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSelectionSetByRef

void setSelectionSetByRef(ISelectionSet selectionSet)
                          throws java.io.IOException,
                                 AutomationException
The selected set of features.

Parameters:
selectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCombinationMethod

int getCombinationMethod()
                         throws java.io.IOException,
                                AutomationException
Combination method for the selection.

Returns:
A com.esri.arcgis.carto.esriSelectionResultEnum constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCombinationMethod

void setCombinationMethod(int method)
                          throws java.io.IOException,
                                 AutomationException
Combination method for the selection.

Parameters:
method - A com.esri.arcgis.carto.esriSelectionResultEnum constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBufferDistance

double getBufferDistance()
                         throws java.io.IOException,
                                AutomationException
Buffer distance used for the selection.

Returns:
The distance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBufferDistance

void setBufferDistance(double distance)
                       throws java.io.IOException,
                              AutomationException
Buffer distance used for the selection.

Parameters:
distance - The distance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSetSelectionSymbol

boolean isSetSelectionSymbol()
                             throws java.io.IOException,
                                    AutomationException
Indicates if the selected set of features is drawn using the SelectionSymbol.

Returns:
The setSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSetSelectionSymbol

void setSetSelectionSymbol(boolean setSymbol)
                           throws java.io.IOException,
                                  AutomationException
Indicates if the selected set of features is drawn using the SelectionSymbol.

Parameters:
setSymbol - The setSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectionColor

IColor getSelectionColor()
                         throws java.io.IOException,
                                AutomationException
Selection color. (used when SetSelectionSymbol = FALSE).

Returns:
A reference to a com.esri.arcgis.display.IColor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSelectionColorByRef

void setSelectionColorByRef(IColor color)
                            throws java.io.IOException,
                                   AutomationException
Selection color. (used when SetSelectionSymbol = FALSE).

Parameters:
color - A reference to a com.esri.arcgis.display.IColor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectionSymbol

ISymbol getSelectionSymbol()
                           throws java.io.IOException,
                                  AutomationException
Selection symbol.

Returns:
A reference to a com.esri.arcgis.display.ISymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSelectionSymbolByRef

void setSelectionSymbolByRef(ISymbol symbol)
                             throws java.io.IOException,
                                    AutomationException
Selection symbol.

Parameters:
symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

void add(IFeature feature)
         throws java.io.IOException,
                AutomationException
Adds a feature to the selection set.

Parameters:
feature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

selectFeatures

void selectFeatures(IQueryFilter filter,
                    int method,
                    boolean justOne)
                    throws java.io.IOException,
                           AutomationException
Selects features based upon the specifed criteria and combination method.

Parameters:
filter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
method - A com.esri.arcgis.carto.esriSelectionResultEnum constant (in)
justOne - The justOne (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

void clear()
           throws java.io.IOException,
                  AutomationException
Clears the selection.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

selectionChanged

void selectionChanged()
                      throws java.io.IOException,
                             AutomationException
Fires the features layer update event. Required when SelectionSet changes.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.