com.esri.arcgis.datasourcesraster
Class IPixelBlock2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesraster.IPixelBlock2Proxy
All Implemented Interfaces:
IPixelBlock2, java.io.Externalizable, java.io.Serializable

public class IPixelBlock2Proxy
extends com.esri.arcgis.interop.Dispatch
implements IPixelBlock2, java.io.Serializable

Internal use class Proxy for COM Interface 'IPixelBlock2'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description: 'Provides access to members that control a PixelBlock.' 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
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IPixelBlock2
IID, IID22dded84_d0a6_448e_95be_284503ac9cac
 
Constructor Summary
  IPixelBlock2Proxy()
          For internal use only
  IPixelBlock2Proxy(java.lang.Object obj)
           
protected IPixelBlock2Proxy(java.lang.Object obj, java.lang.String iid)
           
  IPixelBlock2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IPixelBlock2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 int getBytesPerPixel()
          The number of bytes per pixel for the PixelBlock.
 int getHeight()
          The height of the PixelBlock in pixels.
 int getPixelType(int plane)
          The pixel type of the PixelBlock.
 int getPlanes()
          The number of pixel arrays contained in the PixelBlock.
 java.lang.Object getSafeArrayByRef(int plane)
          A variant SafeArray of pixels for a specified plane.
 java.lang.Object getVal(int plane, int x, int y)
          The value for a specified pixel.
 int getWidth()
          The width of the PixelBlock in pixels.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setPixelType(int plane, int pVal)
          The pixel type of the PixelBlock.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, 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

noncastable

public boolean noncastable
Constructor Detail

IPixelBlock2Proxy

public IPixelBlock2Proxy(java.lang.String CLSID,
                         java.lang.String host,
                         com.esri.arcgis.interop.AuthInfo authInfo)
                  throws java.net.UnknownHostException,
                         java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IPixelBlock2Proxy

public IPixelBlock2Proxy()
For internal use only


IPixelBlock2Proxy

public IPixelBlock2Proxy(java.lang.Object obj)
                  throws java.io.IOException
Throws:
java.io.IOException

IPixelBlock2Proxy

protected IPixelBlock2Proxy(java.lang.Object obj,
                            java.lang.String iid)
                     throws java.io.IOException
Throws:
java.io.IOException

IPixelBlock2Proxy

protected IPixelBlock2Proxy(java.lang.String CLSID,
                            java.lang.String iid,
                            java.lang.String host,
                            com.esri.arcgis.interop.AuthInfo authInfo)
                     throws java.io.IOException
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
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getPlanes

public int getPlanes()
              throws java.io.IOException,
                     AutomationException
The number of pixel arrays contained in the PixelBlock.

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

getWidth

public int getWidth()
             throws java.io.IOException,
                    AutomationException
The width of the PixelBlock in pixels.

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

getHeight

public int getHeight()
              throws java.io.IOException,
                     AutomationException
The height of the PixelBlock in pixels.

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

getPixelType

public int getPixelType(int plane)
                 throws java.io.IOException,
                        AutomationException
The pixel type of the PixelBlock.

Specified by:
getPixelType in interface IPixelBlock2
Parameters:
plane - The plane (in)
Returns:
A com.esri.arcgis.geodatabase.rstPixelType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPixelType

public void setPixelType(int plane,
                         int pVal)
                  throws java.io.IOException,
                         AutomationException
The pixel type of the PixelBlock.

Specified by:
setPixelType in interface IPixelBlock2
Parameters:
plane - The plane (in)
pVal - A com.esri.arcgis.geodatabase.rstPixelType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBytesPerPixel

public int getBytesPerPixel()
                     throws java.io.IOException,
                            AutomationException
The number of bytes per pixel for the PixelBlock.

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

getSafeArrayByRef

public java.lang.Object getSafeArrayByRef(int plane)
                                   throws java.io.IOException,
                                          AutomationException
A variant SafeArray of pixels for a specified plane.

Specified by:
getSafeArrayByRef in interface IPixelBlock2
Parameters:
plane - The plane (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVal

public java.lang.Object getVal(int plane,
                               int x,
                               int y)
                        throws java.io.IOException,
                               AutomationException
The value for a specified pixel.

Specified by:
getVal in interface IPixelBlock2
Parameters:
plane - The plane (in)
x - The x (in)
y - The y (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.