com.esri.arcgis.arcmapui
Interface ITableWindow2

All Superinterfaces:
IDataWindow, Serializable
All Known Subinterfaces:
ITableWindow3
All Known Implementing Classes:
TableWindow

public interface ITableWindow2
extends IDataWindow, Serializable

Provides access to members that extend ITableWindow functionality to work with ILayers.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 ITableWindow findViaLayer(ILayer pLayer)
          Is table (of a layer) already being displayed.
 ITableWindow findViaStandaloneTable(IStandaloneTable pStandaloneTable)
          Is table (of a standalonetable) already being displayed.
 ILayer getLayer()
          Setup layer attributes to view.
 ISelectionSet getSelectionSet()
          Current selection set of the table.
 IStandaloneTable getStandaloneTable()
          The standalone table to view/edit.
 ITableControl getTableControl()
          The table control.
 int getTableSelectionAction()
          Action to perform when table selections are made.
 boolean isShowSelected()
          Indicates whether to show only features that are selected.
 void setLayerByRef(ILayer ppLayer)
          Setup layer attributes to view.
 void setShowAliasNamesInColumnHeadings(boolean rhs1)
          Show alias names or the real field name in column headings.
 void setShowSelected(boolean pShowSelected)
          Indicates whether to show only features that are selected.
 void setStandaloneTableByRef(IStandaloneTable table)
          The standalone table to view/edit.
 void setTableSelectionAction(int pAction)
          Action to perform when table selections are made.
 void updateSelection(ISelectionSet pSelection)
          Updates current table selection.
 
Methods inherited from interface com.esri.arcgis.arcmapui.IDataWindow
getHWnd, isDockable, isVisible, putPosition, queryPosition, refresh, setApplicationByRef, show
 

Method Detail

setTableSelectionAction

void setTableSelectionAction(int pAction)
                             throws IOException,
                                    AutomationException
Action to perform when table selections are made.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
pAction - A com.esri.arcgis.geodatabaseui.esriTableSelectionActions constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTableSelectionAction

int getTableSelectionAction()
                            throws IOException,
                                   AutomationException
Action to perform when table selections are made.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
A com.esri.arcgis.geodatabaseui.esriTableSelectionActions constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setShowSelected

void setShowSelected(boolean pShowSelected)
                     throws IOException,
                            AutomationException
Indicates whether to show only features that are selected.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

isShowSelected

boolean isShowSelected()
                       throws IOException,
                              AutomationException
Indicates whether to show only features that are selected.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

getSelectionSet

ISelectionSet getSelectionSet()
                              throws IOException,
                                     AutomationException
Current selection set of the table. Only valid for tables showing all rows.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

updateSelection

void updateSelection(ISelectionSet pSelection)
                     throws IOException,
                            AutomationException
Updates current table selection. Does not update Mx feature layer selection.

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.

setShowAliasNamesInColumnHeadings

void setShowAliasNamesInColumnHeadings(boolean rhs1)
                                       throws IOException,
                                              AutomationException
Show alias names or the real field name in column headings. Default False.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

getTableControl

ITableControl getTableControl()
                              throws IOException,
                                     AutomationException
The table control. Table needs to be showing before you can get a valid pointer.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

setLayerByRef

void setLayerByRef(ILayer ppLayer)
                   throws IOException,
                          AutomationException
Setup layer attributes to view.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

getLayer

ILayer getLayer()
                throws IOException,
                       AutomationException
Setup layer attributes to view.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

setStandaloneTableByRef

void setStandaloneTableByRef(IStandaloneTable table)
                             throws IOException,
                                    AutomationException
The standalone table to view/edit.

Product Availability

Available with ArcGIS Desktop.

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

getStandaloneTable

IStandaloneTable getStandaloneTable()
                                    throws IOException,
                                           AutomationException
The standalone table to view/edit.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

findViaLayer

ITableWindow findViaLayer(ILayer pLayer)
                          throws IOException,
                                 AutomationException
Is table (of a layer) already being displayed.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Returns:
A reference to a com.esri.arcgis.arcmapui.ITableWindow
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findViaStandaloneTable

ITableWindow findViaStandaloneTable(IStandaloneTable pStandaloneTable)
                                    throws IOException,
                                           AutomationException
Is table (of a standalonetable) already being displayed.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
pStandaloneTable - A reference to a com.esri.arcgis.carto.IStandaloneTable (in)
Returns:
A reference to a com.esri.arcgis.arcmapui.ITableWindow
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.