com.esri.arcgis.geometry
Class IEnvelope2Proxy

java.lang.Object
  extended bycom.esri.arcgis.interop.Dispatch
      extended bycom.esri.arcgis.geometry.IGeometryProxy
          extended bycom.esri.arcgis.geometry.IEnvelopeProxy
              extended bycom.esri.arcgis.geometry.IEnvelope2Proxy
All Implemented Interfaces:
java.io.Externalizable, IEnvelope, IEnvelope2, IGeometry, java.io.Serializable

public class IEnvelope2Proxy
extends IEnvelopeProxy
implements IEnvelope2, java.io.Serializable

Provides access to members that extend the IEnvelope interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF
 
Constructor Summary
  IEnvelope2Proxy()
          For internal use only
  IEnvelope2Proxy(java.lang.Object obj)
           
protected IEnvelope2Proxy(java.lang.Object obj, java.lang.String iid)
           
  IEnvelope2Proxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IEnvelope2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Adds a Java object to be a listener for a specific kind of event generated by the COM object.
 void putMCoords(double mMin, double mMax)
          Sets the minimum and maximum M values simultaneously.
 void putZCoords(double zMin, double zMax)
          Sets the minimum and maximum Z values simultaneously.
 void queryMCoords(double[] mMin, double[] mMax)
          Queries the minimum and maximum M values simultaneously.
 void queryZCoords(double[] zMin, double[] zMax)
          Queries the minimum and maximum Z values simultaneously.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Removes a Java object as a listener to events generated by a COM object.
 
Methods inherited from class com.esri.arcgis.geometry.IEnvelopeProxy
centerAt, defineFromPoints, expand, expandM, expandZ, getDepth, getHeight, getLowerLeft, getLowerRight, getMMax, getMMin, getUpperLeft, getUpperRight, getWidth, getXMax, getXMin, getYMax, getYMin, getZMax, getZMin, intersect, offset, offsetM, offsetZ, putCoords, queryCoords, setDepth, setHeight, setLowerLeft, setLowerRight, setMMax, setMMin, setUpperLeft, setUpperRight, setWidth, setXMax, setXMin, setYMax, setYMin, setZMax, setZMin, union
 
Methods inherited from class com.esri.arcgis.geometry.IGeometryProxy
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, hashCode, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, readExternal, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.geometry.IEnvelope
centerAt, defineFromPoints, expand, expandM, expandZ, getDepth, getHeight, getLowerLeft, getLowerRight, getMMax, getMMin, getUpperLeft, getUpperRight, getWidth, getXMax, getXMin, getYMax, getYMin, getZMax, getZMin, intersect, offset, offsetM, offsetZ, putCoords, queryCoords, setDepth, setHeight, setLowerLeft, setLowerRight, setMMax, setMMin, setUpperLeft, setUpperRight, setWidth, setXMax, setXMin, setYMax, setYMin, setZMax, setZMin, union
 
Methods inherited from interface com.esri.arcgis.geometry.IGeometry
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Constructor Detail

IEnvelope2Proxy

public IEnvelope2Proxy(java.lang.String CLSID,
                       java.lang.String host,
                       AuthInfo authInfo)
                throws java.net.UnknownHostException,
                       java.io.IOException

IEnvelope2Proxy

public IEnvelope2Proxy()
For internal use only


IEnvelope2Proxy

public IEnvelope2Proxy(java.lang.Object obj)
                throws java.io.IOException

IEnvelope2Proxy

protected IEnvelope2Proxy(java.lang.Object obj,
                          java.lang.String iid)
                   throws java.io.IOException

IEnvelope2Proxy

protected IEnvelope2Proxy(java.lang.String CLSID,
                          java.lang.String iid,
                          java.lang.String host,
                          AuthInfo authInfo)
                   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
Description copied from class: Dispatch
Adds a Java object to be a listener for a specific kind of event generated by the COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
addListener in class IEnvelopeProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Description copied from class: Dispatch
Removes a Java object as a listener to events generated by a COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
removeListener in class IEnvelopeProxy
Throws:
java.io.IOException

putZCoords

public void putZCoords(double zMin,
                       double zMax)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IEnvelope2
Sets the minimum and maximum Z values simultaneously.

Supported Platforms

Windows, Solaris, Linux

Description

Sets the ZMin and ZMax simultaneously.  This avoids complications of setting ZMin and ZMax individually in which they could become inconsistent.

Specified by:
putZCoords in interface IEnvelope2
Parameters:
zMin - The zMin (in)
zMax - The zMax (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryZCoords

public void queryZCoords(double[] zMin,
                         double[] zMax)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IEnvelope2
Queries the minimum and maximum Z values simultaneously.

Supported Platforms

Windows, Solaris, Linux

Description

Returns the values of ZMin and ZMax respectively.

Specified by:
queryZCoords in interface IEnvelope2
Parameters:
zMin - The zMin (out: use single element array)
zMax - The zMax (out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

putMCoords

public void putMCoords(double mMin,
                       double mMax)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IEnvelope2
Sets the minimum and maximum M values simultaneously.

Supported Platforms

Windows, Solaris, Linux

Description

Sets the MMin and MMax simultaneously.  This avoids complications of setting MMin and MMax individually in which they could become inconsistent.

Specified by:
putMCoords in interface IEnvelope2
Parameters:
mMin - The mMin (in)
mMax - The mMax (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

queryMCoords

public void queryMCoords(double[] mMin,
                         double[] mMax)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IEnvelope2
Queries the minimum and maximum M values simultaneously.

Supported Platforms

Windows, Solaris, Linux

Description

Returns the values of MMin and MMax respectively.

Specified by:
queryMCoords in interface IEnvelope2
Parameters:
mMin - The mMin (out: use single element array)
mMax - The mMax (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.