com.esri.arcgis.system
Class AngularConverter

java.lang.Object
  extended by com.esri.arcgis.system.AngularConverter
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IAngularConverter, IAngularConverter2, java.io.Serializable

public class AngularConverter
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IAngularConverter, IAngularConverter2

COM Class 'AngularConverter'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description 'Converts angle measurement from one unit to another.' 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.system.IAngularConverter
IID, IID1b64b6b4_1434_4172_8666_bbf83e5c467b, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IAngularConverter2
IID, IID95674ba9_3cd5_429d_a5ac_9d105a099cf7, xxDummy
 
Constructor Summary
AngularConverter()
          Constructs a AngularConverter using ArcGIS Engine.
AngularConverter(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AngularConverter theAngularConverter = (AngularConverter) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 double getAngle(int dt, int du)
          Reads the angle.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getString(int dt, int du, int precision)
          Reads the angle.
 int hashCode()
          the hashcode for this object
 boolean isNegativeAngles()
          Allow an angle to be converted from one direction unit to another.
 void release()
          Release a AngularConverter.
 boolean setAngle(double angle, int dt, int du)
          Writes an angle.
 void setNegativeAngles(boolean negAngles)
          Allow an angle to be converted from one direction unit to another.
 boolean setString(java.lang.String angle, int dt, int du)
          Writes an angle.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AngularConverter

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

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

AngularConverter

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

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

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 AngularConverter.

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

setAngle

public boolean setAngle(double angle,
                        int dt,
                        int du)
                 throws java.io.IOException,
                        AutomationException
Writes an angle.

Specified by:
setAngle in interface IAngularConverter
Parameters:
angle - The angle (in)
dt - A com.esri.arcgis.system.esriDirectionType constant (in)
du - A com.esri.arcgis.system.esriDirectionUnits constant (in)
Returns:
The fail
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAngle

public double getAngle(int dt,
                       int du)
                throws java.io.IOException,
                       AutomationException
Reads the angle.

Specified by:
getAngle in interface IAngularConverter
Parameters:
dt - A com.esri.arcgis.system.esriDirectionType constant (in)
du - A com.esri.arcgis.system.esriDirectionUnits constant (in)
Returns:
The angle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setString

public boolean setString(java.lang.String angle,
                         int dt,
                         int du)
                  throws java.io.IOException,
                         AutomationException
Writes an angle.

Specified by:
setString in interface IAngularConverter
Parameters:
angle - The angle (in)
dt - A com.esri.arcgis.system.esriDirectionType constant (in)
du - A com.esri.arcgis.system.esriDirectionUnits constant (in)
Returns:
The bRet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getString

public java.lang.String getString(int dt,
                                  int du,
                                  int precision)
                           throws java.io.IOException,
                                  AutomationException
Reads the angle.

Specified by:
getString in interface IAngularConverter
Parameters:
dt - A com.esri.arcgis.system.esriDirectionType constant (in)
du - A com.esri.arcgis.system.esriDirectionUnits constant (in)
precision - The precision (in)
Returns:
The angle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNegativeAngles

public void setNegativeAngles(boolean negAngles)
                       throws java.io.IOException,
                              AutomationException
Allow an angle to be converted from one direction unit to another.

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

isNegativeAngles

public boolean isNegativeAngles()
                         throws java.io.IOException,
                                AutomationException
Allow an angle to be converted from one direction unit to another.

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