com.esri.arcgis.geodatabaseui
Class CalculatorUI

java.lang.Object
  extended by com.esri.arcgis.geodatabaseui.CalculatorUI
All Implemented Interfaces:
ICalculatorUI, ICalculatorUI2, ICalculatorUIJoinSettings, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class CalculatorUI
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ICalculatorUI, ICalculatorUI2, ICalculatorUIJoinSettings

COM Class 'CalculatorUI'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriGeoDatabaseUI.olb'

Description 'Window to display calculator dialog.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabaseui.ICalculatorUI
IID, IID309194d6_cceb_11d2_9f24_00c04f6bc886, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabaseui.ICalculatorUI2
IID, IID504996e3_9abe_4a42_847d_39d641b7fd41, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabaseui.ICalculatorUIJoinSettings
IID, IID8f3e794a_ef0b_43ca_9de4_34dec440aaa5, xxDummy
 
Constructor Summary
CalculatorUI()
          Constructs a CalculatorUI using ArcGIS Engine.
CalculatorUI(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
CalculatorUI theCalculatorUI = (CalculatorUI) obj;
 
Method Summary
 IEnvelope doModal(int parentWindow)
          Displays the dialog used to perform calculations.
 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 code determination of a value or variable that may be passed to the expression, or value, of the calculation.
 int hashCode()
          the hashcode for this object
 void release()
          Release a CalculatorUI.
 void setCallbackByRef(ITableDataCallback rhs1)
          The call back routine.
 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 calculation on.
 void setFireRowEventsForJoins(boolean rhs1)
          Should row events be fired during calculation (default false).
 void setPreExpression(java.lang.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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalculatorUI

public CalculatorUI()
             throws java.io.IOException,
                    java.net.UnknownHostException
Constructs a CalculatorUI using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

CalculatorUI

public CalculatorUI(java.lang.Object obj)
             throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
CalculatorUI theCalculatorUI = (CalculatorUI) obj;

Construct a CalculatorUI using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to CalculatorUI.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a CalculatorUI.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setTableByRef

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

Specified by:
setTableByRef in interface ICalculatorUI
Specified by:
setTableByRef in interface ICalculatorUI2
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.ITable (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSelectionSetByRef

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

Specified by:
setSelectionSetByRef in interface ICalculatorUI
Specified by:
setSelectionSetByRef in interface ICalculatorUI2
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setQueryFilterByRef

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

Specified by:
setQueryFilterByRef in interface ICalculatorUI
Specified by:
setQueryFilterByRef in interface ICalculatorUI2
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCallbackByRef

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

Specified by:
setCallbackByRef in interface ICalculatorUI
Specified by:
setCallbackByRef in interface ICalculatorUI2
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabaseui.ITableDataCallback (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setField

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

Specified by:
setField in interface ICalculatorUI
Specified by:
setField in interface ICalculatorUI2
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

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

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

setPreExpression

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

Specified by:
setPreExpression in interface ICalculatorUI2
Parameters:
pPreExpression - The pPreExpression (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPreExpression

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

Specified by:
getPreExpression in interface ICalculatorUI2
Returns:
The pPreExpression
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExpression

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

Specified by:
setExpression in interface ICalculatorUI2
Parameters:
pExpression - The pExpression (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExpression

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

Specified by:
getExpression in interface ICalculatorUI2
Returns:
The pExpression
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFireRowEventsForJoins

public void setFireRowEventsForJoins(boolean rhs1)
                              throws java.io.IOException,
                                     AutomationException
Should row events be fired during calculation (default false).

Specified by:
setFireRowEventsForJoins in interface ICalculatorUIJoinSettings
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.