com.esri.arcgis.datasourcesraster
Class IPixelBlock3Proxy

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

public class IPixelBlock3Proxy
extends com.esri.arcgis.interop.Dispatch
implements IPixelBlock3, java.io.Serializable

Internal use class Proxy for COM Interface 'IPixelBlock3'. 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.IPixelBlock3
IID, IID0ed55c8f_1ec2_4b40_a5d9_f3da548f1f40
 
Constructor Summary
  IPixelBlock3Proxy()
          For internal use only
  IPixelBlock3Proxy(java.lang.Object obj)
           
protected IPixelBlock3Proxy(java.lang.Object obj, java.lang.String iid)
           
  IPixelBlock3Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IPixelBlock3Proxy(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)
           
 void clear(int plane)
          Clears a given plane (sets to NoData).
 int getBytesPerPixel()
          The number of bytes per pixel for the PixelBlock.
 int getHeight()
          The height of the PixelBlock in pixels.
 java.lang.Object getNoDataMask(int plane)
          The NoData mask for a specified plane.
 java.lang.Object getNoDataMaskByRef(int plane)
          The NoData mask for a specified plane.
 java.lang.Object getNoDataMaskVal(int plane, int x, int y)
          Gets the NoData mask value for a specified pixel.
 java.lang.Object getPixelData(int plane)
          An array of pixels for a specified plane.
 java.lang.Object getPixelDataByRef(int plane)
          A pointer to an array of pixels for a specified plane.
 int getPixelType(int plane)
          The pixel type of the PixelBlock.
 int getPlanes()
          The number of pixel arrays contained in the PixelBlock.
 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.
 boolean hasNoData(int plane)
          Checks if this PixelBlock contains NoData.
 void mask(java.lang.Object noData)
          Generates NoData Mask using a given NoData value.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setNoDataMask(int plane, java.lang.Object pVal)
          The NoData mask for a specified plane.
 void setPixelData(int plane, java.lang.Object pVal)
          An array of pixels for a specified plane.
 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

IPixelBlock3Proxy

public IPixelBlock3Proxy(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

IPixelBlock3Proxy

public IPixelBlock3Proxy()
For internal use only


IPixelBlock3Proxy

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

IPixelBlock3Proxy

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

IPixelBlock3Proxy

protected IPixelBlock3Proxy(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 IPixelBlock3
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 IPixelBlock3
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 IPixelBlock3
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 IPixelBlock3
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 IPixelBlock3
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 IPixelBlock3
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPixelData

public java.lang.Object getPixelData(int plane)
                              throws java.io.IOException,
                                     AutomationException
An array of pixels for a specified plane.

Specified by:
getPixelData in interface IPixelBlock3
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.

setPixelData

public void setPixelData(int plane,
                         java.lang.Object pVal)
                  throws java.io.IOException,
                         AutomationException
An array of pixels for a specified plane.

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

getPixelDataByRef

public java.lang.Object getPixelDataByRef(int plane)
                                   throws java.io.IOException,
                                          AutomationException
A pointer to an array of pixels for a specified plane.

Specified by:
getPixelDataByRef in interface IPixelBlock3
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 IPixelBlock3
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.

setNoDataMask

public void setNoDataMask(int plane,
                          java.lang.Object pVal)
                   throws java.io.IOException,
                          AutomationException
The NoData mask for a specified plane.

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

getNoDataMask

public java.lang.Object getNoDataMask(int plane)
                               throws java.io.IOException,
                                      AutomationException
The NoData mask for a specified plane.

Specified by:
getNoDataMask in interface IPixelBlock3
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.

getNoDataMaskByRef

public java.lang.Object getNoDataMaskByRef(int plane)
                                    throws java.io.IOException,
                                           AutomationException
The NoData mask for a specified plane.

Specified by:
getNoDataMaskByRef in interface IPixelBlock3
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.

getNoDataMaskVal

public java.lang.Object getNoDataMaskVal(int plane,
                                         int x,
                                         int y)
                                  throws java.io.IOException,
                                         AutomationException
Gets the NoData mask value for a specified pixel.

Specified by:
getNoDataMaskVal in interface IPixelBlock3
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.

hasNoData

public boolean hasNoData(int plane)
                  throws java.io.IOException,
                         AutomationException
Checks if this PixelBlock contains NoData.

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

clear

public void clear(int plane)
           throws java.io.IOException,
                  AutomationException
Clears a given plane (sets to NoData).

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

mask

public void mask(java.lang.Object noData)
          throws java.io.IOException,
                 AutomationException
Generates NoData Mask using a given NoData value.

Specified by:
mask in interface IPixelBlock3
Parameters:
noData - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.