public class AngularConverter extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IAngularConverter, IAngularConverter2
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 =
IID, IID1b64b6b4_1434_4172_8666_bbf83e5c467b, xxDummy
IID, IID95674ba9_3cd5_429d_a5ac_9d105a099cf7, xxDummy
Constructor and Description |
---|
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; |
Modifier and Type | Method and Description |
---|---|
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()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
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 this COM object reference
|
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.
|
public AngularConverter() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic AngularConverter(java.lang.Object obj) throws java.io.IOException
AngularConverter theAngularConverter = (AngularConverter) obj;
obj
to AngularConverter
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic 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 boolean setAngle(double angle, int dt, int du) throws java.io.IOException, AutomationException
setAngle
in interface IAngularConverter
angle
- The angle (in)dt
- A com.esri.arcgis.system.esriDirectionType constant (in)du
- A com.esri.arcgis.system.esriDirectionUnits constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getAngle(int dt, int du) throws java.io.IOException, AutomationException
getAngle
in interface IAngularConverter
dt
- A com.esri.arcgis.system.esriDirectionType constant (in)du
- A com.esri.arcgis.system.esriDirectionUnits constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean setString(java.lang.String angle, int dt, int du) throws java.io.IOException, AutomationException
setString
in interface IAngularConverter
angle
- The angle (in)dt
- A com.esri.arcgis.system.esriDirectionType constant (in)du
- A com.esri.arcgis.system.esriDirectionUnits constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getString(int dt, int du, int precision) throws java.io.IOException, AutomationException
getString
in interface IAngularConverter
dt
- A com.esri.arcgis.system.esriDirectionType constant (in)du
- A com.esri.arcgis.system.esriDirectionUnits constant (in)precision
- The precision (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setNegativeAngles(boolean negAngles) throws java.io.IOException, AutomationException
setNegativeAngles
in interface IAngularConverter2
negAngles
- The negAngles (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isNegativeAngles() throws java.io.IOException, AutomationException
isNegativeAngles
in interface IAngularConverter2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.