|
|||||||||
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.carto.ITableSelectionProxy
public class ITableSelectionProxy
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.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
ITableSelectionProxy()
|
|
ITableSelectionProxy(Object obj)
|
protected |
ITableSelectionProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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 |
removeListener(String iidStr,
Object theListener)
|
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. |
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 ITableSelectionProxy()
public ITableSelectionProxy(Object obj) throws IOException
IOException
protected ITableSelectionProxy(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 ISelectionSet getSelectionSet() throws IOException, AutomationException
getSelectionSet
in interface ITableSelection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSelectionSetByRef(ISelectionSet selectionSet) throws IOException, AutomationException
setSelectionSetByRef
in interface ITableSelection
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.public void addRow(IRow row) throws IOException, AutomationException
addRow
in interface ITableSelection
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.public 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.
selectRows
in interface ITableSelection
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.public void clear() throws IOException, AutomationException
clear
in interface ITableSelection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void selectionChanged() throws IOException, AutomationException
selectionChanged
in interface ITableSelection
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 |