|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICalculator
Provides access to members that calculate field values in a table.
Use ICalculator interface whenever you wish to update field values in a table, which may be either a stand-alone table or the attribute table of a featureclass.
Method Summary | |
---|---|
IEnvelope |
calculate()
Performs the calculation by executing the pre-expression and expression. |
String |
getExpression()
Expression or value applied to a field in each row of the cursor. |
String |
getPreExpression()
A pre-calculation determination of a value or variable that may be used as the expression (or value) of the calculation. |
boolean |
isShowErrorPrompt()
Indicates whether to show a message prompt when an error occurs during calculation. |
void |
setCallbackByRef(ICalculatorCallback rhs1)
The call back routine. |
void |
setCursorByRef(ICursor rhs1)
Cursor used to access the rows on which the calculation will be performed. |
void |
setExpression(String pExpression)
Expression or value applied to a field in each row of the cursor. |
void |
setField(String rhs1)
Field to perform the calculation on. |
void |
setPreExpression(String pPreExpression)
A pre-calculation determination of a value or variable that may be used as the expression (or value) of the calculation. |
void |
setShowErrorPrompt(boolean pShowPrompt)
Indicates whether to show a message prompt when an error occurs during calculation. |
Method Detail |
---|
void setCursorByRef(ICursor rhs1) throws IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.geodatabase.ICursor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IQueryFilter
void setCallbackByRef(ICalculatorCallback rhs1) throws IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.geodatabaseui.ICalculatorCallback (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setField(String rhs1) throws IOException, AutomationException
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IField
void setPreExpression(String pPreExpression) throws IOException, AutomationException
pPreExpression
- The pPreExpression (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getPreExpression() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setExpression(String pExpression) throws IOException, AutomationException
pExpression
- The pExpression (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getExpression() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope calculate() throws IOException, AutomationException
The calculate method returns an Envelope which covers features that have been modified by the calculation. This envelope can be used to refresh the display for the calculated area only. If the table used in the calculate is non-spatial, a null is returned.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setShowErrorPrompt(boolean pShowPrompt) throws IOException, AutomationException
pShowPrompt
- The pShowPrompt (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isShowErrorPrompt() 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 |