com.esri.arcgis.datasourcesraster
Class PolygonMeasurement

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.PolygonMeasurement
All Implemented Interfaces:
IPolygonMeasurement, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class PolygonMeasurement
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IPolygonMeasurement

COM Class 'PolygonMeasurement'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description 'Implements interface IPolygonMeasurement (polygon measurement and its associated uncertainty information).' 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.datasourcesraster.IPolygonMeasurement
IID, IID61a5e367_f808_433c_a274_cdd12879a513, xxDummy
 
Constructor Summary
PolygonMeasurement()
          Constructs a PolygonMeasurement using ArcGIS Engine.
PolygonMeasurement(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
PolygonMeasurement thePolygonMeasurement = (PolygonMeasurement) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 double getAreaMeasurement()
          The area measurement.
 double getAreaUncertainty()
          The area measurement uncertainty.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getLinearUnit()
          The linear unit of this area measurment.
 double getPerimeterMeasurement()
          The perimeter measurement.
 double getPerimeterUncertainty()
          The perimeter measurement uncertainty.
 int hashCode()
          the hashcode for this object
 void release()
          Release a PolygonMeasurement.
 void reset()
          Resets all the properties of this IPolygonMeasurement to their default values.
 void setAreaMeasurement(double areaMeasurement)
          The area measurement.
 void setAreaUncertainty(double areaUncertainty)
          The area measurement uncertainty.
 void setLinearUnit(java.lang.String pLinearUnit)
          The linear unit of this area measurment.
 void setPerimeterMeasurement(double perimeterMeasurement)
          The perimeter measurement.
 void setPerimeterUncertainty(double perimeterUncertainty)
          The perimeter measurement uncertainty.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolygonMeasurement

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

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

PolygonMeasurement

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

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

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

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

getAreaMeasurement

public double getAreaMeasurement()
                          throws java.io.IOException,
                                 AutomationException
The area measurement.

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

setAreaMeasurement

public void setAreaMeasurement(double areaMeasurement)
                        throws java.io.IOException,
                               AutomationException
The area measurement.

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

getAreaUncertainty

public double getAreaUncertainty()
                          throws java.io.IOException,
                                 AutomationException
The area measurement uncertainty.

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

setAreaUncertainty

public void setAreaUncertainty(double areaUncertainty)
                        throws java.io.IOException,
                               AutomationException
The area measurement uncertainty.

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

getLinearUnit

public java.lang.String getLinearUnit()
                               throws java.io.IOException,
                                      AutomationException
The linear unit of this area measurment.

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

setLinearUnit

public void setLinearUnit(java.lang.String pLinearUnit)
                   throws java.io.IOException,
                          AutomationException
The linear unit of this area measurment.

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

getPerimeterMeasurement

public double getPerimeterMeasurement()
                               throws java.io.IOException,
                                      AutomationException
The perimeter measurement.

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

setPerimeterMeasurement

public void setPerimeterMeasurement(double perimeterMeasurement)
                             throws java.io.IOException,
                                    AutomationException
The perimeter measurement.

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

getPerimeterUncertainty

public double getPerimeterUncertainty()
                               throws java.io.IOException,
                                      AutomationException
The perimeter measurement uncertainty.

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

setPerimeterUncertainty

public void setPerimeterUncertainty(double perimeterUncertainty)
                             throws java.io.IOException,
                                    AutomationException
The perimeter measurement uncertainty.

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

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Resets all the properties of this IPolygonMeasurement to their default values.

Specified by:
reset in interface IPolygonMeasurement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.