com.esri.arcgis.geodatabaseui
Interface ICalculatorUI2

All Superinterfaces:
Serializable
All Known Implementing Classes:
CalculatorUI

public interface ICalculatorUI2
extends Serializable

Provides access to members that control the field calculator.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 IEnvelope doModal(int parentWindow)
          Displays the dialog used to perform calculations.
 String getExpression()
          Expression or value applied to a field in each row of the cursor.
 String getPreExpression()
          A pre-calculation code determination of a value or variable that may be passed to the expression, or value, of the calculation.
 void setCallbackByRef(ITableDataCallback rhs1)
          The call back routine.
 void setExpression(String pExpression)
          Expression or value applied to a field in each row of the cursor.
 void setField(String rhs1)
          Field to perform calculation on.
 void setPreExpression(String pPreExpression)
          A pre-calculation code determination of a value or variable that may be passed to the expression, or value, of the calculation.
 void setQueryFilterByRef(IQueryFilter rhs1)
          QueryFilter used for reading and writing data (optional).
 void setSelectionSetByRef(ISelectionSet rhs1)
          SelectionSet to perform calculation on (optional).
 void setTableByRef(ITable rhs1)
          Table to perform calculation on.
 

Method Detail

setTableByRef

void setTableByRef(ITable rhs1)
                   throws IOException,
                          AutomationException
Table to perform calculation on.

Product Availability

Available with ArcGIS Desktop.

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

setSelectionSetByRef

void setSelectionSetByRef(ISelectionSet rhs1)
                          throws IOException,
                                 AutomationException
SelectionSet to perform calculation on (optional).

Product Availability

Available with ArcGIS Desktop.

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

setQueryFilterByRef

void setQueryFilterByRef(IQueryFilter rhs1)
                         throws IOException,
                                AutomationException
QueryFilter used for reading and writing data (optional).

Product Availability

Available with ArcGIS Desktop.

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

setCallbackByRef

void setCallbackByRef(ITableDataCallback rhs1)
                      throws IOException,
                             AutomationException
The call back routine.

Product Availability

Available with ArcGIS Desktop.

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

setField

void setField(String rhs1)
              throws IOException,
                     AutomationException
Field to perform calculation on.

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.

doModal

IEnvelope doModal(int parentWindow)
                  throws IOException,
                         AutomationException
Displays the dialog used to perform calculations.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
parentWindow - The parentWindow (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPreExpression

void setPreExpression(String pPreExpression)
                      throws IOException,
                             AutomationException
A pre-calculation code determination of a value or variable that may be passed to the expression, or value, of the calculation.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

getPreExpression

String getPreExpression()
                        throws IOException,
                               AutomationException
A pre-calculation code determination of a value or variable that may be passed to the expression, or value, of the calculation.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

setExpression

void setExpression(String pExpression)
                   throws IOException,
                          AutomationException
Expression or value applied to a field in each row of the cursor.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

getExpression

String getExpression()
                     throws IOException,
                            AutomationException
Expression or value applied to a field in each row of the cursor.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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