com.esri.arcgis.geodatabaseui
Interface ITableControl2

All Superinterfaces:
Serializable
All Known Implementing Classes:
TableView

public interface ITableControl2
extends Serializable

Provides access to members that control the table once it has been shown.

Superseded By

ITableControl3

Product Availability

Available with ArcGIS Desktop.


Method Summary
 void drawSelectedShapes(IDisplay pDisplay)
          Draws selected features on display.
 void editChanged()
          Call after start or stop editing, to update table grid.
 int getCurrentRow(boolean isOid)
          The current row the user is on.
 void readToEndOfTable()
          Read all the OIDs/Rows in the table.
 void redraw()
          Redraws the grid.
 void removeAndReloadCache()
          Lose cache, so the table window is current with the underlying database.
 void rereadFIDs(ISelectionSet pSelection)
          Rereads rows.
 void setCurrentRow(boolean isOid, int rowNumber)
          The current row the user is on.
 void updateSelection(ISelectionSet pSelection)
          Updates the current selection, that the current selection is currently pointing to.
 

Method Detail

editChanged

void editChanged()
                 throws IOException,
                        AutomationException
Call after start or stop editing, to update table grid.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

removeAndReloadCache

void removeAndReloadCache()
                          throws IOException,
                                 AutomationException
Lose cache, so the table window is current with the underlying database.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

updateSelection

void updateSelection(ISelectionSet pSelection)
                     throws IOException,
                            AutomationException
Updates the current selection, that the current selection is currently pointing to.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
pSelection - 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.

drawSelectedShapes

void drawSelectedShapes(IDisplay pDisplay)
                        throws IOException,
                               AutomationException
Draws selected features on display.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

rereadFIDs

void rereadFIDs(ISelectionSet pSelection)
                throws IOException,
                       AutomationException
Rereads rows. Called when viewing selected records and the selection changes.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
pSelection - 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.

setCurrentRow

void setCurrentRow(boolean isOid,
                   int rowNumber)
                   throws IOException,
                          AutomationException
The current row the user is on. If isOid = TRUE, then rowNumber is an OID, else it is an offset.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

getCurrentRow

int getCurrentRow(boolean isOid)
                  throws IOException,
                         AutomationException
The current row the user is on. If isOid = TRUE, then rowNumber is an OID, else it is an offset.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
isOid - The isOid (in)
Returns:
The pRowNumber
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

redraw

void redraw()
            throws IOException,
                   AutomationException
Redraws the grid.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

readToEndOfTable

void readToEndOfTable()
                      throws IOException,
                             AutomationException
Read all the OIDs/Rows in the table.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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