com.esri.arcgis.analyst3d
Class IRasterSurfaceProxy

java.lang.Object
  extended bycom.esri.arcgis.interop.Dispatch
      extended bycom.esri.arcgis.analyst3d.IRasterSurfaceProxy
All Implemented Interfaces:
java.io.Externalizable, IRasterSurface, java.io.Serializable

public class IRasterSurfaceProxy
extends Dispatch
implements IRasterSurface, java.io.Serializable

Provides access to members that manipulate and analyze a raster surface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

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
  IRasterSurfaceProxy()
          For internal use only
  IRasterSurfaceProxy(java.lang.Object obj)
           
protected IRasterSurfaceProxy(java.lang.Object obj, java.lang.String iid)
           
  IRasterSurfaceProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IRasterSurfaceProxy(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.
 IRaster getRaster()
          A raster.
 IRasterBand getRasterBand()
          The raster band of a raster surface.
 double getSampleDistance()
          The sample distance for interpolated shapes and profiles.
 void putRaster(IRaster raster, int bandIndex)
          Sets a raster with a specified band index.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Removes a Java object as a listener to events generated by a COM object.
 void setRasterBand(IRasterBand rasterBand)
          The raster band of a raster surface.
 void setSampleDistance(double pSampleDistance)
          The sample distance for interpolated shapes and profiles.
 
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
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Constructor Detail

IRasterSurfaceProxy

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

IRasterSurfaceProxy

public IRasterSurfaceProxy()
For internal use only


IRasterSurfaceProxy

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

IRasterSurfaceProxy

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

IRasterSurfaceProxy

protected IRasterSurfaceProxy(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 Dispatch
Parameters:
iidStr - the ID of the outgoing interface, implemented by the listener
theListener - the object to be informed of the events
theSource - the proxy class that represents the COM class that is the source of the events
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 Dispatch
Parameters:
iidStr - the ID of the outgoing interface, implemented by the listener
theListener - the object that no longer wishes to be informed of the events
Throws:
java.io.IOException

setRasterBand

public void setRasterBand(IRasterBand rasterBand)
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IRasterSurface
The raster band of a raster surface.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setRasterBand in interface IRasterSurface
Parameters:
rasterBand - A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterBand

public IRasterBand getRasterBand()
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IRasterSurface
The raster band of a raster surface.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRasterBand in interface IRasterSurface
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterBand
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

putRaster

public void putRaster(IRaster raster,
                      int bandIndex)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: IRasterSurface
Sets a raster with a specified band index.

Supported Platforms

Windows, Solaris, Linux

Specified by:
putRaster in interface IRasterSurface
Parameters:
raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
bandIndex - The bandIndex (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRaster

public IRaster getRaster()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IRasterSurface
A raster.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRaster in interface IRasterSurface
Returns:
A reference to a com.esri.arcgis.geodatabase.IRaster
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSampleDistance

public void setSampleDistance(double pSampleDistance)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IRasterSurface
The sample distance for interpolated shapes and profiles.

Supported Platforms

Windows, Solaris, Linux

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

getSampleDistance

public double getSampleDistance()
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IRasterSurface
The sample distance for interpolated shapes and profiles.

Supported Platforms

Windows, Solaris, Linux

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