com.esri.arcgis.system
Class IUnitConverterProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.system.IUnitConverterProxy
All Implemented Interfaces:
IUnitConverter, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'IUnitConverter'. Generated 3/19/2015 1:21:00 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description: 'Provides access to members used for converting units.' 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 =

public class IUnitConverterProxy
extends com.esri.arcgis.interop.Dispatch
implements IUnitConverter, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.system.IUnitConverter
IID, IID1f3fbca9_6611_4567_88e4_e0fa8b6fb26d
 
Constructor Summary
  IUnitConverterProxy()
          Deprecated. For internal use only
  IUnitConverterProxy(java.lang.Object obj)
          Deprecated.  
protected IUnitConverterProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IUnitConverterProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IUnitConverterProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 double convertUnits(double dValue, int inUnits, int outUnits)
          Deprecated. Convert Esri units.
 java.lang.String esriUnitsAsString(int units, int appearance, boolean bPlural)
          Deprecated. Convert Esri unit enumerations to strings.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IUnitConverterProxy

public IUnitConverterProxy(java.lang.String CLSID,
                           java.lang.String host,
                           com.esri.arcgis.interop.AuthInfo authInfo)
                    throws java.net.UnknownHostException,
                           java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IUnitConverterProxy

public IUnitConverterProxy()
Deprecated. 
For internal use only


IUnitConverterProxy

public IUnitConverterProxy(java.lang.Object obj)
                    throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IUnitConverterProxy

protected IUnitConverterProxy(java.lang.Object obj,
                              java.lang.String iid)
                       throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IUnitConverterProxy

protected IUnitConverterProxy(java.lang.String CLSID,
                              java.lang.String iid,
                              java.lang.String host,
                              com.esri.arcgis.interop.AuthInfo authInfo)
                       throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

convertUnits

public double convertUnits(double dValue,
                           int inUnits,
                           int outUnits)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Convert Esri units.

Specified by:
convertUnits in interface IUnitConverter
Parameters:
dValue - The dValue (in)
inUnits - A com.esri.arcgis.system.esriUnits constant (in)
outUnits - A com.esri.arcgis.system.esriUnits constant (in)
Returns:
The outValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esriUnitsAsString

public java.lang.String esriUnitsAsString(int units,
                                          int appearance,
                                          boolean bPlural)
                                   throws java.io.IOException,
                                          AutomationException
Deprecated. 
Convert Esri unit enumerations to strings.

Specified by:
esriUnitsAsString in interface IUnitConverter
Parameters:
units - A com.esri.arcgis.system.esriUnits constant (in)
appearance - A com.esri.arcgis.system.esriCaseAppearance constant (in)
bPlural - The bPlural (in)
Returns:
The sUnitString
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.