|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabaseui.Calculator
public class Calculator
COM Class 'Calculator'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriGeoDatabaseUI.olb'
Description 'Calculator engine which is used by the UI and can be used independently.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.geodatabaseui.ICalculator |
---|
IID, IID28232c3a_d7d8_450c_a1da_9c1ef5a5a175, xxDummy |
Constructor Summary | |
---|---|
Calculator()
Constructs a Calculator using ArcGIS Engine. |
|
Calculator(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. Calculator theCalculator = (Calculator) obj; |
Method Summary | |
---|---|
IEnvelope |
calculate()
Performs the calculation by executing the pre-expression and expression. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
java.lang.String |
getExpression()
Expression or value applied to a field in each row of the cursor. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.String |
getPreExpression()
A pre-calculation determination of a value or variable that may be used as the expression (or value) of the calculation. |
int |
hashCode()
the hashcode for this object |
boolean |
isShowErrorPrompt()
Indicates whether to show a message prompt when an error occurs during calculation. |
void |
release()
Release a Calculator. |
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(java.lang.String pExpression)
Expression or value applied to a field in each row of the cursor. |
void |
setField(java.lang.String rhs1)
Field to perform the calculation on. |
void |
setPreExpression(java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Calculator() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic Calculator(java.lang.Object obj) throws java.io.IOException
Calculator theCalculator = (Calculator) obj;
obj
to Calculator
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setCursorByRef(ICursor rhs1) throws java.io.IOException, AutomationException
setCursorByRef
in interface ICalculator
rhs1
- A reference to a com.esri.arcgis.geodatabase.ICursor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCallbackByRef(ICalculatorCallback rhs1) throws java.io.IOException, AutomationException
setCallbackByRef
in interface ICalculator
rhs1
- A reference to a com.esri.arcgis.geodatabaseui.ICalculatorCallback (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setField(java.lang.String rhs1) throws java.io.IOException, AutomationException
setField
in interface ICalculator
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPreExpression(java.lang.String pPreExpression) throws java.io.IOException, AutomationException
setPreExpression
in interface ICalculator
pPreExpression
- The pPreExpression (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getPreExpression() throws java.io.IOException, AutomationException
getPreExpression
in interface ICalculator
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExpression(java.lang.String pExpression) throws java.io.IOException, AutomationException
setExpression
in interface ICalculator
pExpression
- The pExpression (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getExpression() throws java.io.IOException, AutomationException
getExpression
in interface ICalculator
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope calculate() throws java.io.IOException, AutomationException
calculate
in interface ICalculator
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowErrorPrompt(boolean pShowPrompt) throws java.io.IOException, AutomationException
setShowErrorPrompt
in interface ICalculator
pShowPrompt
- The pShowPrompt (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowErrorPrompt() throws java.io.IOException, AutomationException
isShowErrorPrompt
in interface ICalculator
java.io.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 |