|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITableSelection
Provides access to members that control table selection.
This interface allows you to perform a selection on a layer or StandaloneTable, add a row to the current selection, and clear the selection. You can specify a selection set using SelectionSet.
Developers should be aware that the behavior of this interface was modified at 9.3. Prior to 9.3, cursors created from this interface's selection set included the fields from the base table and as well as those from any joined tables. From 9.3 onward, the cursor's field set only includes the fields from the base table.
Method Summary | |
---|---|
void |
addRow(IRow row)
Adds a row to the selection set (honoring the current combination method). |
void |
clear()
Clears the selection. |
ISelectionSet |
getSelectionSet()
The selected set of rows. |
void |
selectionChanged()
Fires the layer update event. |
void |
selectRows(IQueryFilter filter,
int method,
boolean justOne)
Selects rows based upon the specified criteria and combination method. |
void |
setSelectionSetByRef(ISelectionSet selectionSet)
The selected set of rows. |
Method Detail |
---|
ISelectionSet getSelectionSet() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSelectionSetByRef(ISelectionSet selectionSet) throws IOException, AutomationException
selectionSet
- 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 addRow(IRow row) throws IOException, AutomationException
row
- A reference to a com.esri.arcgis.geodatabase.IRow (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void selectRows(IQueryFilter filter, int method, boolean justOne) throws IOException, AutomationException
The justOne parameter tells the search to stop once it has found one feature.
filter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)method
- A com.esri.arcgis.carto.esriSelectionResultEnum constant (in)justOne
- The justOne (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clear() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void selectionChanged() throws IOException, AutomationException
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 |